简体   繁体   中英

Get a list of installed apps in an App Store approved application

I've come across this app , which as one of the functionalities, can scan your phone to retrieve a list of installed apps. I have read the thread on SO here concerning retrieving a list of installed apps by accessing private folders, private APIs, etc. but the answers only apply to jailbroken/sandbox-free applications, which can't be put on the App Store. But this app has been approved and is available now on the store.

How is it that they are retrieving a list of the users installed applications without the use of private APIs?

经过进一步分析,我发现它们本身并不是在检索每个已安装应用程序的列表,而是它们很可能在已知流行应用程序URL的数据库中循环(在该应用程序中,有17,000个url,可能是从服务器),方法是为每个URL重复调用[[UIApplication sharedApplication] canOpenURL:url] ,并在返回YES时将其添加到数组中。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM