ios 根据Bundle ID跳转应用

  • Post author:
  • Post category:其他


Class LSApplicationWorkspace_class = objc_getClass(“LSApplicationWorkspace”);

NSObject * workspace = [LSApplicationWorkspace_class performSelector:@selector(defaultWorkspace)];

BOOL isopen = [workspace performSelector:@selector(openApplicationWithBundleID:) withObject:@”com.tencent.mqq”];



版权声明:本文为sjqsjq23原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。