<!--
{
  "availability" : [
    "iOS: 9.0.0 -",
    "iPadOS: 9.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 10.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PhotoKit",
  "identifier" : "/documentation/Photos/PHAssetResourceCreationOptions",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAssetResourceCreationOptions"
  },
  "title" : "PHAssetResourceCreationOptions"
}
-->

# PHAssetResourceCreationOptions

A set of options affecting the creation of a new Photos asset from underlying resources.

```
class PHAssetResourceCreationOptions
```

## Overview

You use this class when creating an asset for addition to the Photos library with a [`PHAssetCreationRequest`](/documentation/Photos/PHAssetCreationRequest) object.

## Topics

### Describing a New Asset Resource

[`originalFilename`](/documentation/Photos/PHAssetResourceCreationOptions/originalFilename)

The filename for the asset resource being created.

[`uniformTypeIdentifier`](/documentation/Photos/PHAssetResourceCreationOptions/uniformTypeIdentifier)

The uniform type identifier for the resource.

[`contentType`](/documentation/Photos/PHAssetResourceCreationOptions/contentType)

The type of data being provided for this asset resource. If not specified, one will be inferred from the PHAssetResourceType or file URL extension (if provided).

### Managing Resource Files

[`shouldMoveFile`](/documentation/Photos/PHAssetResourceCreationOptions/shouldMoveFile)

A Boolean value that determines whether Photos moves or duplicates files when creating an asset resource.

## Relationships

### Conforms To

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

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

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

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

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)