Created
December 27, 2013 12:30
-
-
Save keicoder/8146381 to your computer and use it in GitHub Desktop.
objective-c : 아이클라우드 이용 가능 여부 체크 (Checking for iCloud availability)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 아이클라우드 이용 가능 여부 체크 (Checking for iCloud availability) | |
| in application:didFinishLaunchingWithOptions method | |
| id currentToken = [[NSFileManager defaultManager] ubiquityIdentityToken]; | |
| if (currentToken) { | |
| NSLog(@"iCloud access on with id %@", currentToken); | |
| } else { | |
| NSLog(@"No iCloud access"); | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment