How to check if my other apps are installed on iOS 10?

Prior to iOS 9, we were able to use the method canOpenURLto check if there are applications that can handle certain URL schemes, so it was widely used to check whether a specific application was installed by the user. Now, starting with iOS 9, we need to declare upfront URL schemes that can be verified by the application. In general, this is cool, but it means that for each version of the new application, we will need to update the previous applications to check if the new one is installed or not.

Is there any reasonable way to do this now? I guess most advertisements and cross-promotion services out there rely on this and have to adapt in some way, does anyone know how?

Thanks Krystian

+4
source share
1 answer

Good, so let's repeat it.

Currently, the only way to handle my script is to assign a specific schema for each application in an ordered manner, for example:

my.domain.app01
my.domain.app02
...

If you already have applications, just update them to add a new, additional scheme.

Info.plist LSApplicationQueriesSchemes Info.plist. : 10 , 40. , , , , .

, , , .

, , + - , .

+2

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


All Articles