iOS Question How can i get a list-of-all-installed-apps?

Wolfgang Trageiser

Member
Licensed User
Longtime User
in my app i will check/search - if some Special apps are installed.
for example, i want to know is the Amazon-app or is the Facebook-app installed on the device (on which my app is running).
in B4A this is very easy - but in B4i...?
 

Erel

B4X founder
Staff member
Licensed User
Longtime User
You cannot get a list of the installed applications in iOS.

However if you are looking for specific apps and those apps have registered unique url schemes then you can use App.CanOpenUrl to check if an app is installed.

B4X:
If App.CanOpenURL("fb://") Then
 Log("Facebook is installed")
End If

As this feature was "abused" by ad networks, Apple allows you to query to up to 50 different schemes: https://www.b4x.com/android/forum/threads/ios-9-important-changes.59457/#content
 
Upvote 0
Cookies are required to use this site. You must accept them to continue using the site. Learn more…