From Xojo Documentation

You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site!

Class (inherits from MobileControl)

New in 2020r2

This non-visible control allows selection of an image stored on the device (or taken with the camera) for use in the app.

Cancelled Opening
Closing Selected
Handle Show
AllowEditing Name
Handle fa-lock-32.png Source


On iOS, if your app is going to let the user choose a picture from their photo library or take a picture with the camera, you must enabled Photos Access. To do this, go to Build Settings in the Navigator, click on iOS then click on the Advanced tab in the Inspector. Enable Photo Access then click the Options button. To take a picture with the camera and/or save photos to the photo library, enabled Write access. To use share a photo from the photo library or camera, choose Read access.

On iOS, Handle returns a Ptr to an UIImagePickerController.

See Also

Picture class