<!--
{
  "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",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "UIKit"
    ],
    "preciseIdentifier" : "c:@T@UIActivityType"
  },
  "title" : "UIActivity.ActivityType"
}
-->

# UIActivity.ActivityType

A structure that describes the types of activities for which the system has built-in support.

```
struct ActivityType
```

## Overview

These constants represent the values that can be stored in the [`activityType`](/documentation/UIKit/UIActivity/activityType-swift.property) property of system-defined activity objects.

## Topics

### Constants

[`UIActivityTypeAddToHomeScreen`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/addToHomeScreen)

[`UIActivityTypeAddToReadingList`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/addToReadingList)

A type of activity that adds the URL to Safari’s reading list.

[`UIActivityTypeAirDrop`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/airDrop)

A type of activity that makes the provided content available through AirDrop.

[`UIActivityTypeAssignToContact`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/assignToContact)

A type of activity that assigns the image to a contact.

[`UIActivityTypeCollaborationCopyLink`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/collaborationCopyLink)

[`UIActivityTypeCollaborationInviteWithLink`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/collaborationInviteWithLink)

[`UIActivityTypeCopyToPasteboard`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/copyToPasteboard)

A type of activity that posts the provided content to the pasteboard.

[`UIActivityTypeMail`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/mail)

A type of activity that posts the provided content to a new email message.

[`UIActivityTypeMarkupAsPDF`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/markupAsPDF)

A type of activity that marks up the provided content as a PDF file.

[`UIActivityTypeMessage`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/message)

A type of activity that posts the provided content to the Messages app.

[`UIActivityTypeOpenInIBooks`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/openInIBooks)

A type of activity that opens the content in iBooks.

[`UIActivityTypePostToFacebook`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/postToFacebook)

A type of activity that posts the provided content to the user’s wall on Facebook.

[`UIActivityTypePostToFlickr`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/postToFlickr)

A type of activity that posts the provided image to the user’s Flickr account.

[`UIActivityTypePostToTencentWeibo`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/postToTencentWeibo)

A type of activity that posts the provided content to the user’s Tencent Weibo feed.

[`UIActivityTypePostToTwitter`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/postToTwitter)

A type of activity that posts the provided content to the user’s Twitter feed.

[`UIActivityTypePostToVimeo`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/postToVimeo)

A type of activity that posts the provided video to the user’s Vimeo account.

[`UIActivityTypePostToWeibo`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/postToWeibo)

A type of activity that posts the provided content to the user’s Weibo feed.

[`UIActivityTypePrint`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/print)

A type of activity that prints the provided content.

[`UIActivityTypeSaveToCameraRoll`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/saveToCameraRoll)

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

[`UIActivityTypeSharePlay`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/sharePlay)

A type of activity that makes the provided content available through SharePlay.

### Initializers

[`init(_:)`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/init(_:))

Creates an activity type.

[`init(rawValue:)`](/documentation/UIKit/UIActivity/ActivityType-swift.struct/init(rawValue:))

Creates a new instance with the specified raw value.

## Relationships

### Conforms To

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

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

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

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

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

---

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)