<!--
{
  "availability" : [
    "iOS: 6.0.0 -",
    "iPadOS: 6.0.0 -",
    "macCatalyst: 13.1.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "UIKit",
  "identifier" : "/documentation/UIKit/UIActivity/ActivityType-swift.struct/saveToCameraRoll",
  "metadataVersion" : "0.1.0",
  "role" : "Type Property",
  "symbol" : {
    "kind" : "Type Property",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@UIActivityTypeSaveToCameraRoll"
  },
  "title" : "saveToCameraRoll"
}
-->

# saveToCameraRoll

A type of activity that assigns the image or video to the user’s camera roll.

```
static let saveToCameraRoll: UIActivity.ActivityType
```

## Discussion

When using this service, you can provide a [`UIImage`](/documentation/UIKit/UIImage) object as data for image-based activity items. For image and video items, you can provide an <doc://com.apple.documentation/documentation/Foundation/NSURL> object with a path to the video.

---

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)