<!--
{
  "availability" : [
    "iOS: 10.1.0 - 18.0.0",
    "iPadOS: 10.1.0 - 18.0.0",
    "macCatalyst: 13.1.0 - 18.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "StoreKit",
  "identifier" : "/documentation/StoreKit/SKCloudServiceSetupViewController",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "StoreKit"
    ],
    "preciseIdentifier" : "c:objc(cs)SKCloudServiceSetupViewController"
  },
  "title" : "SKCloudServiceSetupViewController"
}
-->

# SKCloudServiceSetupViewController

A view controller that helps people perform setup for a cloud service, like an Apple Music subscription.

```
@MainActor class SKCloudServiceSetupViewController
```

## Overview

Use the view that this view controller presents to allow customers to set up cloud services that are associated with their iTunes Store account, like an Apple Music subscription.

To enable the Apple Music subscriber setup flow in particular, you first request the current set of capabilities from [`SKCloudServiceController`](/documentation/StoreKit/SKCloudServiceController). Then, present the setup view controller only when the [`musicCatalogSubscriptionEligible`](/documentation/StoreKit/SKCloudServiceCapability/musicCatalogSubscriptionEligible) capability is enabled and the [`musicCatalogPlayback`](/documentation/StoreKit/SKCloudServiceCapability/musicCatalogPlayback) capability is disabled.

For information about other capabilities that you can enable by using this view controller, see [`SKCloudServiceCapability`](/documentation/StoreKit/SKCloudServiceCapability).

## Topics

### Setting a delegate

[`delegate`](/documentation/StoreKit/SKCloudServiceSetupViewController/delegate)

The cloud service view controller’s delegate.

[`SKCloudServiceSetupViewControllerDelegate`](/documentation/StoreKit/SKCloudServiceSetupViewControllerDelegate)

A protocol that defines the methods a cloud service setup view controller can use to get the status of the view, including when it is dismissed.

### Loading the setup view

[Offering Apple Music Subscription in Your App](/documentation/StoreKit/offering-apple-music-subscription-in-your-app)

Allow eligible customers to subscribe to Apple Music.

[`SKCloudServiceSetupOptionsKey`](/documentation/StoreKit/SKCloudServiceSetupOptionsKey)

Keys to specify the types of setup options for a cloud service.

[`load(options:completionHandler:)`](/documentation/StoreKit/SKCloudServiceSetupViewController/load(options:completionHandler:))

Loads the cloud service setup view with the specified options.

[`SKArcadeService`](/documentation/StoreKit/SKArcadeService)



---

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)