<!--
{
  "availability" : [
    "iOS: -",
    "iPadOS: -",
    "macCatalyst: -",
    "visionOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIImagePickerController/InfoKey",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UIImagePickerControllerInfoKey"
  },
  "title" : "UIImagePickerController.InfoKey"
}
-->

# UIImagePickerController.InfoKey

Keys you use to retrieve information from the editing dictionary about the media that the user selected.

```
struct InfoKey
```

## Topics

### Constants

[`cropRect`](/documentation/UIKit/UIImagePickerController/InfoKey/cropRect)

The cropping rectangle that was applied to the original image.

[`editedImage`](/documentation/UIKit/UIImagePickerController/InfoKey/editedImage)

An image edited by the user.

[`imageURL`](/documentation/UIKit/UIImagePickerController/InfoKey/imageURL)

The URL of the image file.

[`livePhoto`](/documentation/UIKit/UIImagePickerController/InfoKey/livePhoto)

The Live Photo representation of the selected or captured photo.

[`mediaMetadata`](/documentation/UIKit/UIImagePickerController/InfoKey/mediaMetadata)

Metadata for a newly-captured photograph.

[`mediaType`](/documentation/UIKit/UIImagePickerController/InfoKey/mediaType)

The media type selected by the user.

[`mediaURL`](/documentation/UIKit/UIImagePickerController/InfoKey/mediaURL)

The filesystem URL for the movie.

[`originalImage`](/documentation/UIKit/UIImagePickerController/InfoKey/originalImage)

The original, uncropped image selected by the user.

[`phAsset`](/documentation/UIKit/UIImagePickerController/InfoKey/phAsset)

A Photos asset for the image.

[`referenceURL`](/documentation/UIKit/UIImagePickerController/InfoKey/referenceURL)

The Assets Library URL for the original version of the picked item.

### Initializers

[`init(rawValue:)`](/documentation/UIKit/UIImagePickerController/InfoKey/init(rawValue:))

Creates a new editing information key with the specified raw value.



---

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)