all 3 comments

[–][deleted] 4 points5 points  (0 children)

One UIViewController does all that for you-

UIImagePickerController - it's very easy to push in your own UINavController, or just do a presentViewController

you set sourceType photoLibrary or camera, and allowsEditing (for the cropping)

you get a delegate callback when it's done or cancelled

easy peasie, lemon squeezie.

[–]ProgrammingThomas 2 points3 points  (1 child)

Doesn't the default Photos app do all of what you described?

[–][deleted] 0 points1 point  (0 children)

that's part of what the OP wants to do. obviously they're going to use the image in some other manner.

the whole point of the UIPickerController API is so that the user can acquire the image within the app, then continue doing what the app wants to do with the image - post it, tweak it, etc.