Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I determine if a user has an iOS app installed?

Tags:

ios

How can I determine if the user of an iOS device has a specific application installed? If I know the name of the application can I use canOpenURL somehow?

like image 883
SundayMonday Avatar asked Aug 24 '11 01:08

SundayMonday


People also ask

How do you detect an IOS app installed or upgraded?

You can differentiate between the first start after installing the App, the first start after an update and other starts quite easily via saving the latest known version to standardUserDefaults .

How do you know if an app has been installed?

By default, Android users get most of their apps from Google Play Store. You can view the app download history in Google Play Store from the Installed or Library sections of the Store. The Installed section shows you all the apps currently installed on your Android device.


1 Answers

If the application supports a custom url scheme you can check UIApplication -canOpenURL:. That will tell you only that an application able to open that url scheme is available, not necessarily which application that is. There's no publicly available mechanism to inspect what other apps a user has installed on their device.

If you control both apps you might also use a shared keychain or pasteboard to communicate between them in more detail.

like image 53
Jonah Avatar answered Jan 26 '23 00:01

Jonah