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

# sharePlay

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

```
static let sharePlay: UIActivity.ActivityType
```

## Discussion

When using this service, you can use <doc://com.apple.documentation/documentation/Foundation/NSItemProvider/registerGroupActivity(_:)> to provide an <doc://com.apple.documentation/documentation/Foundation/NSItemProvider> with a <doc://com.apple.documentation/documentation/GroupActivities/GroupActivity> object as an activity item. If no `GroupActivity` object is provided, the service will start a FaceTime call without an accompanying SharePlay session.

---

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)