One Logo Pool Ball
_PhotosUI_SwiftUI · IOS API REFERENCE

PhotosPickerItem.EncodingDisambiguationPolicy

struct · iOS 16.0+ · SDK 27.1

struct EncodingDisambiguationPolicy

A policy that decides the encoding to use given a content type, if multiple encodings are available.

Members (3)

get · iOS 16.0+

compatible

TypeScript
static get compatible(): PhotosPickerItem_EncodingDisambiguationPolicy
Swift declaration
static let compatible: PhotosPickerItem.EncodingDisambiguationPolicy

Uses the most compatible encoding if possible, even if transcoding is required.

get · iOS 16.0+

current

TypeScript
static get current(): PhotosPickerItem_EncodingDisambiguationPolicy
Swift declaration
static let current: PhotosPickerItem.EncodingDisambiguationPolicy

Uses the current encoding to avoid transcoding if possible.

get · iOS 16.0+

automatic

TypeScript
static get automatic(): PhotosPickerItem_EncodingDisambiguationPolicy
Swift declaration
static let automatic: PhotosPickerItem.EncodingDisambiguationPolicy

Uses the best encoding determined by the system. This may change in future releases.

Skipped declarations

No declarations were skipped in this snapshot.

All _PhotosUI_SwiftUI types →