Is it possible to, within an app, close a different app on the same iDevice? For example, say my app is trying to do something while in the background (downloading in-app purchase, playing music, etc), and the user opens up a different app that may interfere with the one that is currently running. Would it be possible to kill this app? My thought was using NSNotification, but I was wondering if as developers, do we even have the privilege of doing this?
Thanks
iOS App Privileges?
Page 1 of 12 Replies - 1225 Views - Last Post: 02 February 2012 - 08:43 PM
Topic Sponsor:
Replies To: iOS App Privileges?
#2
Re: iOS App Privileges?
Posted 02 February 2012 - 07:58 PM
Nope. I believe that there is a way to share application bundle identifiers so that applications may launch other applications and possibly even share data, but in general applications can only close themselves. (Which, as it happens, is against Apple's Human Interface Guidelines)
A better approach would be to implement the functions in your application delegate object specific to multitasking so that you can continue to run code even while your application is not technically "active." You can learn more about this here: App States and Multitasking
Hope that helps
A better approach would be to implement the functions in your application delegate object specific to multitasking so that you can continue to run code even while your application is not technically "active." You can learn more about this here: App States and Multitasking
Hope that helps
#3
Re: iOS App Privileges?
Posted 02 February 2012 - 08:43 PM
Thanks for the reply Crafty! I will definitely check out that documentation.
Page 1 of 1
|
|

New Topic/Question
Reply


MultiQuote



|