Version: 2021.3
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

Declaration

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

Declaration

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

Parameters

enableKeyValueStorage Enables or disables key-value Storage.
enableiCloudDocument Enables or disables iCloud document storage.
enablecloudKit Enables cloudKit option if set to true.
addDefaultContainers Default containers are added if this option is set to true.
customContainers Array 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.