Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

application:openURL: method not being called

![enter image description here][1]I am using url schemes in my iOS application, but my:

-(BOOL)application:(UIApplication *)application openURL:(NSURL *)url sourceApplication:(NSString *)sourceApplication annotation:(id)annotation
{

is not being called. I've set up URL types in my info.plist and added both a URL identifier and URL schemes. Any ideas why this is not getting called?

like image 352
George99999 Avatar asked Sep 28 '22 21:09

George99999


1 Answers

I would double-check the URL. A good way to confirm it's working is to enter the URL scheme defined into Safari on the simulator. If your app isn't opening after you made sure the URL is correct, it's most likely a problem with how you configured the URL scheme in info.plist.

like image 111
colinrf Avatar answered Oct 20 '22 14:10

colinrf