I was able to achieve this functionality by listening to notifications from the collector. Register in ViewDidLoad
[[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(imageCaptured:) name:@"_UIImagePickerControllerUserDidCaptureItem" object:nil];
Then determine when to enable editing.
- (void) imageCaptured:(NSNotification *)notification { if (self.pickerController.cameraCaptureMode == UIImagePickerControllerCameraCaptureModeVideo) { self.pickerController.allowsEditing = YES; } else{ self.pickerController.allowsEditing = NO; { }
mdewitt
source share