_PhotosUI_SwiftUI is a cross-import overlay that brings the PhotosPicker control to SwiftUI, letting people choose photos and videos from their library without granting full library authorization. You present the picker and read the user's choices through PhotosPickerItem, which represents each selected photo or video. Use PhotosPickerSelectionBehavior and PhotosPickerStyle to configure how selection works and how the picker appears across iOS, macOS, watchOS, and visionOS.
Selected Items 1
The model value that represents each photo or video a person chooses in the picker.
- StPhotosPickerItemAn item that can be provided to or provided by the Photos picker.
Configuring the Picker 2
Types that control how selection works and how the PhotosPicker appears.
- StPhotosPickerSelectionBehaviorA value that determines how the Photos picker handles user selection.
- StPhotosPickerStyleA value that determines the style of the Photos picker.
Structures 1
- StPhotosPickerA control that allows a user to choose photos and/or videos from the photo library.
Extends 2
ViewPHLivePhoto