Guest User

Untitled

a guest
May 24th, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.41 KB | None | 0 0
  1. //
  2. // backward compatibility of handling URL
  3. //
  4. NSString* osVersion = [[UIDevice currentDevice] systemVersion];
  5. if ([osVersion compare:@"3.9" options:NSNumericSearch] == NSOrderedAscending) {
  6. NSURL *url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
  7. if (url) {
  8. [self performSelector:@selector(handleURL:) withObject:url afterDelay:.1];
  9. }
  10. }
Add Comment
Please, Sign In to add comment