Version: 2019.2
LanguageEnglish
  • C#

ProjectCapabilityManager.AddiCloud

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Submission failed

For some reason your suggested change could not be submitted. Please <a>try again</a> in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

public void AddiCloud(bool enableKeyValueStorage, bool enableiCloudDocument, string[] customContainers);
public void AddiCloud(bool enableKeyValueStorage, bool enableiCloudDocument, bool enablecloudKit, bool addDefaultContainers, string[] customContainers);

Parameters

enableKeyValueStorageEnables or disables key-value Storage.
enableiCloudDocumentEnables or disables iCloud document storage.
enablecloudKitEnables cloudKit option if set to true.
addDefaultContainersDefault containers are added if this option is set to true.
customContainersArray of containers in which to store documents on iCloud. Information about custom container types can be found here: https://developer.apple.com/library/content/documentation/IDEs/Conceptual/AppDistributionGuide/AddingCapabilities/AddingCapabilities.html#//apple_ref/doc/uid/TP40012.

Description

iCloud Storage APIs enable your apps to store data and documents in iCloud.