Open an application from another (iOS)

偶尔善良 提交于 2019-12-20 02:32:37

问题


I read that there is nothing like NSWorkspace for iOS

Equivalent of NSWorkspace for iOS

Unfortunately, I wanted a button in my app that can run some others applications (in background). Is it possible without NSWorkspace ?


回答1:


Your first problem is that you can't run applications in the background in the same way that you can on the Mac.

But, assuming that just launching an app is enough, the answer is: it depends. The other app would need a URL scheme defined. Not all do, unfortunately. Then you just call [UIApplication openURL:].



来源:https://stackoverflow.com/questions/9926668/open-an-application-from-another-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!