IOS_根据Bundle ID 唤醒App

  • 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”


];



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