Handle iOS URL Schemes
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 { | |
NSLog(@"url recieved: %@", url); | |
NSLog(@"scheme: %@", [url scheme]); | |
NSLog(@"query string: %@", [url query]); | |
NSLog(@"host: %@", [url host]); | |
// handle these things in your app here | |
return YES; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment