<!--
{
  "availability" : [
    "macOS: 10.12.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHLivePhotoViewContentMode",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:@E@PHLivePhotoViewContentMode"
  },
  "title" : "PHLivePhotoViewContentMode"
}
-->

# PHLivePhotoViewContentMode

The enumerated Live Photo content modes.

```
enum PHLivePhotoViewContentMode
```

## Topics

### Content Modes

[`PHLivePhotoViewContentModeAspectFit`](/documentation/PhotosUI/PHLivePhotoViewContentMode/aspectFit)

A mode that resizes the content to fit the view’s bounds, while preserving the content’s aspect ratio.

[`PHLivePhotoViewContentModeAspectFill`](/documentation/PhotosUI/PHLivePhotoViewContentMode/aspectFill)

A mode that resizes the content to fill its horizontal or vertical dimension.

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)