Answers
注意⚠️以下方法都不能通过AppStore审核!!
试试这个 https://github.com/profburke/AppLister
还有这个:
Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace");
NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)];
NSLog(@"apps: %@", [workspace performSelector:@selector(allApplications)]);
琐琐碎碎2
answered 9 years, 1 month ago