哥们,就不能获取所有的应用列表吗?
那你写一个分享出来呀
就是不会呀,大佬会不会
id space = [NSClassFromString(@“LSApplicationWorkspace”) performWithSelectorName:@“defaultWorkspace”];
for (id app in [space performWithSelectorName:@“allInstalledApplications”]) {
NSLog(@"%@", [app performWithSelectorName:@“applicationIdentifier”]);
}