load(options:completionHandler:)
Loads the cloud service setup view with the specified options.
Declaration
func load(options: [SKCloudServiceSetupOptionsKey : Any] = [:], completionHandler: ((Bool, (any Error)?) -> Void)? = nil)func load(options: [SKCloudServiceSetupOptionsKey : Any] = [:]) async throws -> BoolParameters
- options:
A key that identifies the type of setup the user needs to do. See Skcloudservicesetupoptionskey for possible values.
- completionHandler:
A block that is called when the setup view has loaded. The block takes the following parameters:
resultA Boolean value that indicates whether the view controller has loaded the view and can be presented.
errorAn error value that indicates the reason for failure. Possible values are Unknown, Cloudservicepermissiondenied, and Cloudservicenetworkconnectionfailed.