UIImagePickerController with camera source with allows editing yes : video trimming doesn't work UIImagePickerController with camera source with allows editing yes : video trimming doesn't work xcode xcode

UIImagePickerController with camera source with allows editing yes : video trimming doesn't work


allowsEditing : A Boolean value indicating whether the user is allowed to edit a selected still image or movie.

@property (nonatomic) BOOL allowsEditing

DiscussionIf you allow the user to edit still images or movies, the delegate may receive a dictionary with information about the edits that were made. The protocol for the delegate is described in UIImagePickerControllerDelegate Protocol Reference.

I Think this will be helpful.


you need to grab the info[UIImagePickerControllerEditedImage] from the - (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary *)info

I believe.