Hi,
I have been wondering if is there any way i can open my iOS app from another app with the use of bundle identifier?
As i have already published apps and there were no URL scheme mentioned, and it is some how app dependent and URL scheme needs to be mentioned in each and every app.
And even if i add url scheme and launch update for all past apps it might not possible that each user will update it without using the new one from which i want to open past apps.
Any help would be great.
Thanks
I have been wondering if is there any way i can open my iOS app from another app with the use of bundle identifier?
No. iOS has very limited IPC mechanisms and opening URLs is the only way to launch one app from another app.
And even if i add url scheme and launch update for all past apps it might not possible that each user will update it without using the new one from which i want to open past apps.
Right. You can use
-[UIApplication canOpenURL:]
to tell whether a URL scheme is supported by any app on the device. If it returns
NO
, you can then tell your user that they have to install version X or later of the target app.
Finally, before you go too far into URL schemes be aware that recent versions of iOS put some limits on how much you can use this mechanism. Watch WWDC 2015 Session 703 Privacy and Your App for the details.
Share and Enjoy
—
Quinn “The Eskimo!”
Apple Developer Relations, Developer Technical Support, Core OS/Hardware
let myEmail = "eskimo" + "1" + "@apple.com"