I’m having too much fun on this chapter.
UIImagePickerController *imagePicker = [[UIImagePickerController alloc] init]; // set picker properties [imagePicker setDelegate:self]; [imagePicker setAllowsEditing:YES];
Then change it to get the edited image and not the original photo in the call back event:
// Get picked image from info dictionary UIImage *image = [info objectForKey:UIImagePickerControllerEditedImage]; //UIImagePickerControllerOriginalImage];
So basically add one line and change the key to pull from the dictionary and get the ability to pan, zoom, crop the image just the way you want.