问题
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