/// 通过 bundle identifier 跳转到其他App
+ (BOOL)openAppWithBundleId:(NSString*)bundleId {
// 获取私有类名(LSApplicationWorkspace通过字符串拼接形式可绕过苹果审核😅)
NSString *classNameString = [[NSString alloc] initWithFormat:@"%@%@", @"LSApplicati", @"onWorkspace"];
NSObject* workspace = [NSClassFromString(classNameString) new];
// 获取私有方法名
NSString *selNameString = [[NSString alloc] initWithFormat:@"%@%@", @"openApplication", @"WithBundleID:"];
SEL selector =NSSelectorFromString(selNameString);
IMP imp = [workspace methodForSelector:selector];
BOOL (*func)(id,SEL,NSString*) = (void*)imp;
BOOL result = workspace ?
func(workspace, selector, bundleId) : false;
return result;
}