<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.11.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHAssetMediaSubtype",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:@E@PHAssetMediaSubtype"
  },
  "title" : "PHAssetMediaSubtype"
}
-->

# PHAssetMediaSubtype

Constants identifying specific variations of asset media, such as panorama or screenshot photos, and time-lapse or high-frame-rate video.

```
struct PHAssetMediaSubtype
```

## Overview

You use these constants with the [`PHAsset`](/documentation/Photos/PHAsset) and [`PHContentEditingInput`](/documentation/Photos/PHContentEditingInput) classes to fetch specific types of assets or to identify an asset being edited.

Media subtypes are <doc://com.apple.documentation/documentation/Swift/OptionSet> values, so you can combine them using set literal syntax to test for multiple subtypes.

## Topics

### Initializers

[`init(rawValue:)`](/documentation/Photos/PHAssetMediaSubtype/init(rawValue:))

Initializes a media subtype from a raw value.

### Media Subtypes

[`PHAssetMediaSubtypeNone`](/documentation/Photos/PHAssetMediaSubtype/PHAssetMediaSubtypeNone)

The asset has no subtype.

[`PHAssetMediaSubtypePhotoPanorama`](/documentation/Photos/PHAssetMediaSubtype/photoPanorama)

The asset is a large-format panorama photo.

[`PHAssetMediaSubtypePhotoHDR`](/documentation/Photos/PHAssetMediaSubtype/photoHDR)

The asset is a high-dynamic range photo.

[`PHAssetMediaSubtypePhotoScreenshot`](/documentation/Photos/PHAssetMediaSubtype/photoScreenshot)

The asset is an image captured with the device’s screenshot feature.

[`PHAssetMediaSubtypePhotoLive`](/documentation/Photos/PHAssetMediaSubtype/photoLive)

The asset is a Live Photo that includes movement and sounds from the moments just before and after its capture.

[`PHAssetMediaSubtypeVideoCinematic`](/documentation/Photos/PHAssetMediaSubtype/videoCinematic)

The asset is a cinematic video.

[`PHAssetMediaSubtypeVideoStreamed`](/documentation/Photos/PHAssetMediaSubtype/videoStreamed)

The asset is a video with contents that always stream over a network connection.

[`PHAssetMediaSubtypeVideoHighFrameRate`](/documentation/Photos/PHAssetMediaSubtype/videoHighFrameRate)

The asset is a high-frame-rate video.

[`PHAssetMediaSubtypeVideoTimelapse`](/documentation/Photos/PHAssetMediaSubtype/videoTimelapse)

The asset is a time-lapse video.

[`PHAssetMediaSubtypePhotoDepthEffect`](/documentation/Photos/PHAssetMediaSubtype/photoDepthEffect)

The asset is a photo captured with the Camera app’s Portrait mode depth effect.

## Relationships

### Conforms To

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

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

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

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

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

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

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

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

---

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)