Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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 ?

like image 891
user1300781 Avatar asked Dec 08 '25 21:12

user1300781


1 Answers

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

like image 193
Stephen Darlington Avatar answered Dec 10 '25 10:12

Stephen Darlington



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!