简体   繁体   中英

Open an application from another (iOS)

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 ?

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:] .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM