MobileImagePicker

From Xojo Documentation

Revision as of 22:59, 4 November 2020 by Gperlman (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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.

Enumerations
Sources
Events
Cancelled Opening
Closing Selected
Methods
Handle Show
Properties
AllowEditing Name
Handle fa-lock-32.png Source

Notes

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