检测iOS安装的应用

 方法一:http://developer.apple.com/library/ios/#featuredarticles/iPhoneURLScheme_Reference/Introduction/Introduction.html
  方法二:http://forrst.com/posts/UIDevice_Category_For_Processes-h1H
  方法三:http://stackoverflow.com/questions/3878197/is-it-possible-to-get-information-about-all-apps-installed-on-iphone/3878220#3878220
  方法四:http://www.iphonedevsdk.com/forum/iphone-sdk-development/22289-possible-retrieve-these-information.html

其中最后2种是私有API和只适用于jail break的iOS设备,而前2种适用于普通的iOS设备。大概解释一下前2种方法:
  方法一:利用URL scheme,看对于某一应用特有的url scheme,有没有响应。如果有响应,就说明安装了这个特定的app。
  方法二:利用一些方法获得当前正在运行的进程信息,从进程信息中获得安装的app信息。

本文来自网络资源:网址:http://amitay.us/blog/files/how_to_detect_installed_ios_apps.php  

posted @ 2012-07-09 11:19  酱酱爱  阅读(1050)  评论(0编辑  收藏  举报