How can I check programmatically that list of applications are installed or not in iPhone

前端 未结 2 823
-上瘾入骨i
-上瘾入骨i 2021-01-29 13:36

In my app I\'m showing list of applications.Is it possible to find that the array of applications are installed or not in iPhone. If any possibility is there anyone please provi

2条回答
  •  闹比i
    闹比i (楼主)
    2021-01-29 13:53

    In the old times you could have used canOpenURL with a library like iHasApp. This only works for apps that register custom deep link schemes, but it was capturing the majority of important apps.

    But since iOS 9 there seems to be a limitation to this approach - see How to reset `canOpenURL` limit in iOS9?

    In general your app is not allowed to know what else is installed in the system for privacy reasons.

提交回复
热议问题