Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to avoid "wants to open" dialog triggered by openURL in iOS 9.0

I use openURL to open app B from App A, and I get this alert dialog "App A wants to open App B", with two buttons, "Open" and "Cancel".

If I press "Cancel", app B won't open and dialog will appear again.

If I press "Open", app B will open and dialog won't appear again.

I would like to somehow to make it not appear to begin with. I am wondering if there is a key I should add to app A's info.plist in order to skip the dialog step when doing openURL to app B.

Any ideas?

Update:

After checking, I could not come up with a solution for my problem. It looks like this dialog will appear regardless. I hope Apple will add the option to handle it automatically as if both apps are mine, logically, there should not be any dialog to confirm switching between them...

like image 728
Roy K Avatar asked Aug 31 '15 13:08

Roy K


1 Answers

After checking for hours, I could not come up with a solution for my problem. It looks like this dialog will appear regardless anything... I hope Apple will add the option to handle it in the app's info.plist as if both apps are mine, logically, there should not be any dialog to confirm switching between them...

like image 89
Roy K Avatar answered Sep 28 '22 09:09

Roy K