<!--
{
  "availability" : [
    "iOS: 8.0.0 -",
    "iPadOS: 8.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/PHAssetChangeRequest/creationRequestForAsset(from:)",
  "metadataVersion" : "0.1.0",
  "role" : "Type Method",
  "symbol" : {
    "kind" : "Type Method",
    "modules" : [
      "Photos"
    ],
    "preciseIdentifier" : "c:objc(cs)PHAssetChangeRequest(cm)creationRequestForAssetFromImage:"
  },
  "title" : "creationRequestForAsset(from:)"
}
-->

# creationRequestForAsset(from:)

Creates a request for adding a new image asset to the Photos library.

```
class func creationRequestForAsset(from image: UIImage) -> Self
```

## Parameters

`image`

An image.

## Return Value

An asset creation request.

## Discussion

Call this method within a photo library change block to create a new asset. For details on change blocks, see [`PHPhotoLibrary`](/documentation/Photos/PHPhotoLibrary).

To reference the newly created asset later in the same change block or after the change block completes, use the [`placeholderForCreatedAsset`](/documentation/Photos/PHAssetChangeRequest/placeholderForCreatedAsset) property to retrieve a placeholder object.

> Important:
> A <doc://com.apple.documentation/documentation/UIKit/UIImage> object does not contain all metadata associated with the image file it was originally loaded from (for example, Exif tags such as geographic location, camera model, and exposure parameters). To ensure such metadata is saved in the Photos library, instead use the ``doc://com.apple.photokit/documentation/Photos/PHAssetChangeRequest/creationRequestForAssetFromImage(atFileURL:)`` method or the ``doc://com.apple.photokit/documentation/Photos/PHAssetCreationRequest`` class. To copy metadata from one file to another, see <doc://com.apple.documentation/documentation/ImageIO>.

---

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)