Skip to content
This repository has been archived by the owner on Nov 29, 2022. It is now read-only.

DZNPhotoEditorViewControllerCropModeCustom frame error #85

Open
JackDPro opened this issue Aug 17, 2015 · 6 comments
Open

DZNPhotoEditorViewControllerCropModeCustom frame error #85

JackDPro opened this issue Aug 17, 2015 · 6 comments

Comments

@JackDPro
Copy link

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

@dzenbot
Copy link
Owner

dzenbot commented Aug 17, 2015

What device is this? iPhone6?

@joslinm
Copy link

joslinm commented Aug 18, 2015

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

@JackDPro
Copy link
Author

iPhone5 and simulator

@andrewjaykeller
Copy link

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

@andrewjaykeller
Copy link

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

@dzenbot
Copy link
Owner

dzenbot commented Aug 21, 2015

@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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants