<!--
{
  "availability" : [
    "macOS: 10.13.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/PhotosUI/PHProjectAssetElement",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PhotosUI"
    ],
    "preciseIdentifier" : "c:objc(cs)PHProjectAssetElement"
  },
  "title" : "PHProjectAssetElement"
}
-->

# PHProjectAssetElement

An element that represents a media asset within project section content.

```
class PHProjectAssetElement
```

## Overview

Access the underlying [`PHAsset`](/documentation/Photos/PHAsset) by converting the provided [`cloudAssetIdentifiers`](/documentation/PhotosUI/PHProjectSectionContent/cloudAssetIdentifiers) to a [`assetLocalIdentifier`](/documentation/Photos/PHAssetResource/assetLocalIdentifier), then calling [`fetchAssets(withLocalIdentifiers:options:)`](/documentation/Photos/PHAsset/fetchAssets(withLocalIdentifiers:options:)).

## Topics

### Characterizing an Asset Element

[`var annotation: String`](/documentation/PhotosUI/PHProjectAssetElement/annotation)

A string annotation attached to the asset.

[`var cloudAssetIdentifier: PHCloudIdentifier`](/documentation/PhotosUI/PHProjectAssetElement/cloudAssetIdentifier)

The asset’s identifier in the cloud.

[`var cropRect: CGRect`](/documentation/PhotosUI/PHProjectAssetElement/cropRect)

A rectangle defining the cropped portion of the asset.

[`var regionsOfInterest: [PHProjectRegionOfInterest]`](/documentation/PhotosUI/PHProjectAssetElement/regionsOfInterest)

An array of regions of interest in the photo asset.

[`var horizontallyFlipped: Bool`](/documentation/PhotosUI/PHProjectAssetElement/horizontallyFlipped)

A Boolean indicating whether the asset is vertically flipped.

[`var verticallyFlipped: Bool`](/documentation/PhotosUI/PHProjectAssetElement/verticallyFlipped)

A Boolean indicating whether the asset is vertically flipped.

## Relationships

### Conforms To

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

[`NSSecureCoding`](/documentation/Foundation/NSSecureCoding)

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

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

[`NSCoding`](/documentation/Foundation/NSCoding)

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

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

### Inherits From

[`PHProjectElement`](/documentation/PhotosUI/PHProjectElement)

---

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)