DZNPhotoPickerController icon indicating copy to clipboard operation
DZNPhotoPickerController copied to clipboard

DZNPhotoEditorViewControllerCropModeCustom frame error

Open JackDPro opened this issue 9 years ago • 6 comments

The code is

    UIImagePickerController *picker = [[UIImagePickerController alloc] init];
    picker.allowsEditing = YES;
    picker.sourceType = UIImagePickerControllerSourceTypePhotoLibrary;
    picker.delegate = self;
    picker.cropSize = CGSizeMake(112, 152);
    picker.cropMode = DZNPhotoEditorViewControllerCropModeCustom;

But the custom cropView is not as i want

bug

JackDPro avatar Aug 17 '15 08:08 JackDPro

What device is this? iPhone6?

dzenbot avatar Aug 17 '15 16:08 dzenbot

I just came here to say this. I'm running this on the iPhone 5s simulator and seeing it.

joslinm avatar Aug 18 '15 01:08 joslinm

iPhone5 and simulator

JackDPro avatar Aug 21 '15 08:08 JackDPro

My output does not match what was within my crop circle. Is this your problem too? Running iPad 2 iOS 8.4.1

andrewjaykeller avatar Aug 21 '15 15:08 andrewjaykeller

simulator screen shot aug 21 2015 12 28 56 pm simulator screen shot aug 21 2015 12 29 00 pm

andrewjaykeller avatar Aug 21 '15 16:08 andrewjaykeller

@pushtheworldllc This hasn't been specified in the documentation, but you should never present the cropper fullscreen on iPad, but in a popover like you would do with the native UIImagePickerController. Also, try setting it with a 320pts content width.

dzenbot avatar Aug 21 '15 19:08 dzenbot