Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSURL *ubiq = [[NSFileManager defaultManager]
- URLForUbiquityContainerIdentifier:nil];
- NSLog(@"url=%@",ubiq);
- if (!ubiq) {
- UIAlertView *av = [[UIAlertView alloc] initWithTitle:nil message:@"Please enable iCloud in Setting app" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
- [av show];
- return;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement