Advertisement
Guest User

Untitled

a guest
Oct 30th, 2014
154
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.37 KB | None | 0 0
  1. NSURL *ubiq = [[NSFileManager defaultManager]
  2. URLForUbiquityContainerIdentifier:nil];
  3. NSLog(@"url=%@",ubiq);
  4. if (!ubiq) {
  5. UIAlertView *av = [[UIAlertView alloc] initWithTitle:nil message:@"Please enable iCloud in Setting app" delegate:self cancelButtonTitle:@"OK" otherButtonTitles:nil, nil];
  6. [av show];
  7. return;
  8.  
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement