I am trying to add iCloud support to my iOS-5.1 application, according to the Apple iCloud Design Guide in the "Prepare Your Application for Use iCloud" section. It says:
At the beginning of the application launch process, in the application: doneFinishLaunchingWithOptions: method (iOS) or applicationDidFinishLaunching: method (OS X), check the availability of iCloud by calling the NSFileManager ubiquityIdentityToken method, as follows:
id currentiCloudToken = [[NSFileManager defaultManager] ubiquityIdentityToken];
The problem is that this method ( ubiquityIdentityToken) is available on OS X version 10.8 and later, and I only have 10.7.4 installed.
Is there any solution or other solution if I do development under 10.7? And why is the availability of this method related to the OSX version and not the iOS version?
source
share