Platforms to show: All Mac Windows Linux Cross-Platform
PHPickerViewControllerMBS class
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
class | Photos | MBS iOS Plugin | 22.5 | ✅ Yes | ❌ No | ❌ No | ✅ Yes | Desktop & iOS |
The PHPickerViewController class is an alternative to UIImagePickerController.
PHPickerViewController improves stability and reliability, and includes several benefits to developers and users, such as the following:
- Deferred image loading and recovery UI
- Reliable handling of large and complex assets, like RAW and panoramic images
- User-selectable assets that aren’t available for UIImagePickerController
- Configuration of the picker to display only Live Photos
- Availability of PHLivePhotoMBS objects without library access
- Stricter validations against invalid inputs
You can present a picker object only once; you can’t reuse it across sessions.
- 9 events
- event didFinishPicking(Result() as PHPickerResultMBS)
- event popoverDidClose
- event popoverDidShow
- event popoverWillClose
- event popoverWillShow
- event viewDidAppear
- event viewDidDisappear
- event viewWillAppear
- event viewWillDisappear
- 7 properties
- property configuration as PHPickerConfigurationMBS
- property Handle as Integer
- property popover as Variant
- property PopOverHeight as Integer
- property PopOverWidth as Integer
- property View as NSViewMBS New in 25.1
- property ViewController as Variant New in 25.1
- 4 methods
- method Constructor(configuration as PHPickerConfigurationMBS)
- method Destructor
- method Dismiss
- method Present
This class has no sub classes.
Some properties using for this class:
- DesktopPHPickerControlMBS.Controller as PHPickerViewControllerMBS
- PHPickerControlMBS.Controller as PHPickerViewControllerMBS
Some examples using this class:
Blog Entries
- MBS Xojo Plugins, version 25.1pr1
- News from the MBS Xojo Plugins Version 24.2
- Picking picture on macOS
- MBS Xojo Plugins, version 24.2pr4
- News from the MBS Xojo Plugins Version 23.2
- MonkeyBread Software Releases the MBS Xojo Plugins in version 23.2
- MBS Xojo Plugins, version 23.2pr1
- The Top 10 from the MBS Xojo Plugins in 2022
- News from the MBS Xojo Plugins Version 22.5
- MonkeyBread Software Releases the MBS Xojo Plugins in version 22.5
Release notes
- Version 25.1
- Added View and ViewController properties to PHPickerViewControllerMBS class.
- Fixed PopOverWidth and PopOverHeight for PHPickerViewControllerMBS class.
- Version 24.2
- Added popover show/close events to PHPickerViewControllerMBS class for macOS.
- Added view appears/disappears events to PHPickerViewControllerMBS class for iOS and macOS.
- Version 23.2
- Added PopOverWidth, PopOverHeight, and popover properties to PHPickerViewControllerMBS class.
- Version 22.5
- Added PHPickerViewControllerMBS, PHPickerConfigurationMBS, PHPickerFilterMBS, and PHPickerResultMBS classes.
The items on this page are in the following plugins: MBS iOS Plugin.
PHPickerResultMBS - PHProjectChangeRequestMBS
