Contents

photosPickerSearchText(_:)

Sets search text of the Photos picker.

Declaration

nonisolated func photosPickerSearchText(_ searchText: PHPickerSearchText?) -> some View

Parameters

  • searchText:

    Text to be displayed in the search bar.

Return Value

A Photos picker with specified search text.

See Also

Selecting photos