IOS 获取当前设备安装的所有App
来源:互联网 发布:photoshop 2017 mac 编辑:程序博客网 时间:2024/06/05 14:40
该方法是私有方法,需 进行动态调用和字符串拼接进行混淆来通过苹果验证。
#include <objc/runtime.h> Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace"); NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)]; NSLog(@"apps: %@", [workspace performSelector:@selector(allApplications)]);
NSDictionary *infoDictionary = [[NSBundlemainBundle]infoDictionary];
NSLog(@"infoDictionary:%@",infoDictionary);
infoDictionary :
A dictionary, constructed from the bundle's Info.plist file, that contains information about the receiver. If the bundle does not contain anInfo.plist file, a valid dictionary is returned but this dictionary contains only private keys that are used internally by theNSBundle class. The NSBundle class may add extra keys to this dictionary for its own use.
http://itunes.apple.com/search?term=需要查询程序名字&entity=software 该请求为POST请求。
返回的JSON格式数据。通过解析JSON数据,查询关键字:
trackViewUrl 为应用程序的 itunes的URL;
trackId 为应用程序的id;
http://itunes.apple.com/lookup?id=trackId 可以定位查询某APP,该请求为POST请求。
- iOS获取当前设备上所有安装的App
- IOS 获取当前设备安装的所有App
- 获取当前安装的所有App
- iOS开发- 获取安装的所有App
- 获取当前系统所有使用的设备
- 获取iOS设备的安装的app的目录、、
- 如何获取IOS上所有安装的app?
- iOS设备安装App列表信息获取
- iOS获取当前app版本号和使用设备
- iOS获取当前app的设备名称和版本号等内容
- 获取ios设备当前的系统版本
- 获取ios设备的存储空间当前情况
- iOS 获取当前设备的宽高
- iOS应用获取当前设备的bundle_id
- 获取iOS设备当前运行的进程
- IOS获取当前App的信息
- IOS 获取APP当前的版本号
- ios获取app当前的版本号
- 2014年12月11日下午——周四
- win7 CMD登录本机MySQL数据库管理
- 20141212
- 从C开始_概述_仔细瞧瞧
- Java8的lambda(1)
- IOS 获取当前设备安装的所有App
- STD:string string类总结
- Java中的显示锁ReentrantLock使用时机
- Android系统开发之触摸屏tslib移植(内核)和原理分析
- Android Wear 用于发送与同步数据的数据类型与接口概述
- STL容器(三)——对map排序
- 中水处理设备:一体化中水回用设备特点解析
- Android系统开发之tslib移植
- (二) linear discriminant analysis- part I