用私有API得到iOS系统里安装的所有APP

#include Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace"); NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)]; NSLog(@"apps: %@", [workspace performSelector:@selector(allApplications)]);

【用私有API得到iOS系统里安装的所有APP】可以用于非越狱iOS系统。也许可以靠混淆拼接字符串绕过审核,值得一试。

    推荐阅读