DBCamera
DBCamera copied to clipboard
Issues with Camera Crop Segue
Having an issue setting the crop view. When I call:
CGFloat width = [[UIScreen mainScreen]bounds].size.width; segue.cropRect = (CGRect){ 0, 0, width, width};
The view is never set to the mainScreen width. But If I hard code values example: segue.cropRect = (CGRect){ 0, 0, 200, 400}. Then it works. Am I doing something wrong? I'm running the camera on a 6 plus so I need the crop view to adjust to the screen width to create a square.
Hello am I calling this correctly?????