Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- //
- // backward compatibility of handling URL
- //
- NSString* osVersion = [[UIDevice currentDevice] systemVersion];
- if ([osVersion compare:@"3.9" options:NSNumericSearch] == NSOrderedAscending) {
- NSURL *url = [launchOptions objectForKey:UIApplicationLaunchOptionsURLKey];
- if (url) {
- [self performSelector:@selector(handleURL:) withObject:url afterDelay:.1];
- }
- }
Add Comment
Please, Sign In to add comment