Created
October 27, 2014 01:29
-
-
Save mafellows/d77574d1f3187a3afe56 to your computer and use it in GitHub Desktop.
This file contains 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
- (BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation | |
{ | |
NSString *urlString = [url absoluteString]; | |
if ([urlString rangeOfString:@"from-dealer"].location != NSNotFound) { | |
NSLog(@"This application was launched from the dealer app!"); | |
return YES; | |
} | |
return NO; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment