Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    text
    copied!<p>From the documentation for UIImagePickerController:</p> <blockquote> <p>You can customize an image picker controller to manage user interactions yourself. To do this, provide an overlay view containing the controls you want to display, and use the methods described in “Capturing Still Images or Movies.” <strong>You can display your custom overlay view in addition to, or instead of, the default controls.</strong> Custom overlay views for the UIImagePickerController class are available in iOS 3.1 and later by way of the cameraOverlayView property. For a code example, see the PhotoPicker sample code project.</p> </blockquote> <p><a href="https://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html" rel="nofollow">https://developer.apple.com/library/ios/#documentation/uikit/reference/UIImagePickerController_Class/UIImagePickerController/UIImagePickerController.html</a></p> <p>The delegate you choose for your photo library button should also have access to the UIImagePickerController. Then, when the button is pressed for photo album, you can call presentModalViewController:animated: (or presentViewController:animated:completion: if you are targeting iOS 5 and up) on the UIImagePickerController, passing in a new UIImagePickerController with sourceType set to UIImagePickerControllerSourceTypePhotoLibrary.</p> <p>I've handled this issue in two other ways: 1st, just use a UIActionSheet to prompt the user prior to showing the image picker; 2nd, host the pickers in a tab controller or other container controller.</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload