I have an app that uses
LSApplicationWorkspace
's +defaultWorkspace
and -allApplications
, but I can't use these on the App Store.
What alternatives do I have?
I have an app that uses
LSApplicationWorkspace
's +defaultWorkspace
and -allApplications
, but I can't use these on the App Store.
What alternatives do I have?
What alternatives do I have?
If you are using LSApplicationWorkspace
to detect what applications are installed? None.
Apple treats the list of installed applications as private, and have made deliberate changes to other APIs in the past to keep that information private. (For instance, iOS 9 applied limits to canOpenURL:
to prevent it from being used to detect installed applications.)
If you need to detect other specific applications, and those applications implement custom URL schemes, you can still use canOpenURL:
to check for those. However, you will need to declare these URL schemes ahead of time in your Info.plist
, and you cannot detect applications which do not handle unique URL schemes.