<!--
{
  "availability" : [
    "iOS: 27.0.0 -",
    "iPadOS: 27.0.0 -",
    "macCatalyst: 27.0.0 -",
    "macOS: 27.0.0 -",
    "visionOS: 27.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHPickerMetadataOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:@E@PHPickerMetadataOptions"
  },
  "title" : "PHPickerMetadataOptions"
}
-->

# PHPickerMetadataOptions

Constants that specify metadata options for \c PHPickerViewController.

```
struct PHPickerMetadataOptions
```

## Topics

### Initializers

[`init(rawValue: UInt)`](/documentation/PhotosUI/PHPickerMetadataOptions/init(rawValue:))

### Type Properties

[`static var removeCaptions: PHPickerMetadataOptions`](/documentation/PhotosUI/PHPickerMetadataOptions/removeCaptions)

Remove captions metadata.

[`static var removeLocation: PHPickerMetadataOptions`](/documentation/PhotosUI/PHPickerMetadataOptions/removeLocation)

Remove location metadata.

## Relationships

### Conforms To

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`Equatable`](/documentation/Swift/Equatable)

[`ExpressibleByArrayLiteral`](/documentation/Swift/ExpressibleByArrayLiteral)

[`Sendable`](/documentation/Swift/Sendable)

[`OptionSet`](/documentation/Swift/OptionSet)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

[`SetAlgebra`](/documentation/Swift/SetAlgebra)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)