DBCamera icon indicating copy to clipboard operation
DBCamera copied to clipboard

Issues with Camera Crop Segue

Open eoboite opened this issue 9 years ago • 1 comments

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.

eoboite avatar Mar 19 '15 19:03 eoboite

Hello am I calling this correctly?????

eoboite avatar Jul 27 '15 19:07 eoboite