Skip to content

Instantly share code, notes, and snippets.

@mafellows
Created October 27, 2014 01:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mafellows/d77574d1f3187a3afe56 to your computer and use it in GitHub Desktop.
Save mafellows/d77574d1f3187a3afe56 to your computer and use it in GitHub Desktop.
- (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