Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

Component: PhotoPicker

A panel for iOS to import images from photos library.

Queries photos library without needing permission dialogs.
See also ImagePicker functions. Added macOS support for v13.2.

Version macOS Windows Linux Server iOS SDK
12.5 / 13.4 ✅ Yes ❌ No ❌ No 🔶 19%, on macOS ✅ 95%

Item Details Server
PhotoPicker.Available
Queries whether the photo picker is available.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.BytesLoaded
Queries the number of bytes loaded.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.Clear
Clears the picker.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.Dismiss
Dismisses the dialog.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.Error
Queries error for loading an image.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.File
Queries native file path for the image.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.GetDisabledCapabilities
Queries which Capabilities of the picker that should be disabled.
Mac/iOS
13.4
  ✅ Server
PhotoPicker.GetFileName
Queries the file name of the script to run when email composer is done.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.GetMode
Queries the mode of the picker.
Mac/iOS
13.4
  ✅ Server
PhotoPicker.GetScriptName
Queries the script name of the script to run when email composer is done.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.GetSelectionLimit
Queries the selection limit.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.ImageCount
Queries number of images selected.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.IsLoading
Queries whether images are still loading.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.IsPresented
Checks whether panel is displayed.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.Present
Presents the photo picker view.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.SetDisabledCapabilities
Sets which Capabilities of the picker that should be disabled.
Mac/iOS
13.4
  ✅ Server
PhotoPicker.SetMode
Sets the mode of the picker.
Mac/iOS
13.4
  ✅ Server
PhotoPicker.SetScript
Sets the script to call when picker is done.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.SetSelectionLimit
Sets the selection limit.
Mac/iOS
12.5
  ❌ Server
PhotoPicker.SetSize
Sets size to use for popover.
Mac only
13.2
  ❌ Server
PhotoPicker.TotalBytes
Queries the number of bytes in total.
Mac/iOS
12.5
  ❌ Server

21 functions shown.

Release notes

Blog Entries

Example Databases

💬 Ask a question or report a problem