One Logo Pool Ball
PhotosUI · IOS API REFERENCE

PHPickerConfiguration.Update

struct · iOS 17.0+ · SDK 27.1

struct Update

An update configuration for `PHPickerViewController`.

Members (7)

get · iOS 27.0+

searchText

TypeScript
get searchText(): (PHPickerSearchText) | null
Swift declaration
var searchText: PHPickerSearchText? { get set }

The search text for the picker. Default is `nil`.

set · iOS 27.0+

searchText

TypeScript
set searchText(value: (PHPickerSearchText) | null)
Swift declaration
var searchText: PHPickerSearchText? { get set }

The search text for the picker. Default is `nil`.

get · iOS 17.0+

selectionLimit

TypeScript
get selectionLimit(): (number) | null
Swift declaration
var selectionLimit: Int?

The maximum number of assets that can be selected. Default is `nil`.

set · iOS 17.0+

selectionLimit

TypeScript
set selectionLimit(value: (number) | null)
Swift declaration
var selectionLimit: Int?

The maximum number of assets that can be selected. Default is `nil`.

get · iOS 17.0+

edgesWithoutContentMargins

TypeScript
get edgesWithoutContentMargins(): (_UIKit_NSDirectionalRectEdge) | null
Swift declaration
var 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 · iOS 17.0+

edgesWithoutContentMargins

TypeScript
set edgesWithoutContentMargins(value: (_UIKit_NSDirectionalRectEdge) | null)
Swift declaration
var 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`.

init · iOS 17.0+

init

TypeScript
static init(): PHPickerConfiguration_Update
Swift declaration
init()

Skipped declarations

No declarations were skipped in this snapshot.

All PhotosUI types →