Matt Hudson
Matt Hudson

Reputation: 7348

UIIMagePickerController don't automatically dismiss picker

How do you prevent the UIImagePickerController from automatically dismissing the camera after a picture is taken?

Upvotes: 0

Views: 337

Answers (1)

Walter
Walter

Reputation: 5887

You set the picker to allowsImageEditing to be YES before you present it.

picker.allowsImageEditing = YES;
picker.delegate = self;
[self presentModalViewController:picker animated:YES];

Upvotes: 1

Related Questions