标签:blog io os sp for on 2014 log ef
可用于非越狱设备, 不过通过审核够呛, 如果需要实现这个功能的, 自己想办法绕过审核吧。
这里提供获取安装的所有App的办法:
#include <objc/runtime.h> Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace"); NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)]; NSLog(@"apps: %@", [workspace performSelector:@selector(allApplications)]);
标签:blog io os sp for on 2014 log ef
原文地址:http://blog.csdn.net/hitwhylz/article/details/41550753