my heading is exploding with this issue.
I am want to implement something similar to the camera view of Instagram. I am using an Overlay View to customise the appearance of the camera.
First issue - I couldn't make the Live View a square. Therefore, I created views to cover parts of the live view and make a square.
This solution led to my second issue. How can I crop the image that appears in the square that I made on the overlay view.
My closest solution has come from this post: UIImage: Resize, then Crop
Is there a way to make a square shape live preview and the use that image. Or can I make a square from a portion of the scryeen that I want without distortion or lost of quality.
Regards