Application: openURL: method is not called

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

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

not called. I configured the URL types in my info.plist and added the url and url schemes. Any ideas why this is not triggered?

+4
source share
1 answer

I would double check the URL. A good way to confirm that it works is to enter the URL scheme defined in Safari on the simulator. If your application does not open after you verify that the URL is correct, this is most likely a problem with setting the URL scheme in the info.plist file.

+4
source

Source: https://habr.com/ru/post/1588999/


All Articles