Does this code pass the app store?
问题 I need to know if user has certain apps on his iphone device I have this code BOOL isInstalled = [[LSApplicationWorkspace defaultWorkspace] applicationIsInstalled:@"com.app.identifier"]; if (isInstalled) { // app is installed } else { // app is not installed } which in theory does the job the question is in practice, does it pass the app store? can i use the "LSApplicationWorkspace" class ? 回答1: No. All applications referencing private APIs and even undocumented APIs are not allowed. 来源: