Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force close when set "presentViewController:[Crop View Controller] animated:NO" #71

Open
congngus opened this issue Nov 10, 2014 · 0 comments

Comments

@congngus
Copy link

When present crop view controller with animated option "NO" sample code crash when touch PECropView.

PECropViewController *controller = [[PECropViewController alloc] init];
controller.delegate = self;
controller.image = selectedImage;
controller.cropAspectRatio = self.view.frame.size.width / self.view.frame.size.height;
controller.keepingCropAspectRatio = YES;
[controller setRotationEnabled:NO];

UINavigationController *navigationController = [[UINavigationController alloc] initWithRootViewController:controller];
[self presentViewController:navigationController animated:NO completion:nil];
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant