Hi all,
I need to list app which installed in iphone device, and I look at one solution about that and It use LSApplicationWorkspace to list all app,
Class LSApplicationWorkspace_class = objc_getClass("LSApplicationWorkspace");
NSObject* workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)];
NSLog(@"apps: %@", [workspace performSelector:@selector(allApplications)]);
Please let me know, Apple will reject my app if I user that code ?