searchText
TypeScriptget searchText(): (PHPickerSearchText) | nullSwift declarationvar searchText: PHPickerSearchText? { get set }The search text for the picker. Default is `nil`.
struct · iOS 17.0+ · SDK 27.1
struct UpdateAn update configuration for `PHPickerViewController`.
get searchText(): (PHPickerSearchText) | nullSwift declarationvar searchText: PHPickerSearchText? { get set }The search text for the picker. Default is `nil`.
set searchText(value: (PHPickerSearchText) | null)Swift declarationvar searchText: PHPickerSearchText? { get set }The search text for the picker. Default is `nil`.
get selectionLimit(): (number) | nullSwift declarationvar selectionLimit: Int?The maximum number of assets that can be selected. Default is `nil`.
set selectionLimit(value: (number) | null)Swift declarationvar selectionLimit: Int?The maximum number of assets that can be selected. Default is `nil`.
get edgesWithoutContentMargins(): (_UIKit_NSDirectionalRectEdge) | nullSwift declarationvar edgesWithoutContentMargins: NSDirectionalRectEdge? { get set }Edges of the picker that have no margin between the content and the edge (e.g. without bars in between). Default is `nil`.
set edgesWithoutContentMargins(value: (_UIKit_NSDirectionalRectEdge) | null)Swift declarationvar edgesWithoutContentMargins: NSDirectionalRectEdge? { get set }Edges of the picker that have no margin between the content and the edge (e.g. without bars in between). Default is `nil`.
static init(): PHPickerConfiguration_UpdateSwift declarationinit()No declarations were skipped in this snapshot.