Skip to main content
Jun 6, 2011 9:43 PM UTC
Answered

Close App on iPad?

Did some Googling but couldn't find anything helpful... is there a way to completely close an app when the iPad's home button is pressed?

thanks

This topic is closed to new replies. Start a new post to keep the conversation going.
iBr3nt
iBr3ntCorrect answer
Inspiring
Jun 6, 2011 9:52 PM UTC

Hi,

The best you can do is set a value in the Info.plist to exit application on suspend. Look at the documentation here to see the list of keys you can set to influence the apps behavior: http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

You would add the following text within your -app.xml <iPhoneAdditions> tag, below the UIDeviceFamily tag:

<key>UIApplicationExitsOnSuspend</key>

<true/>

HTH,

iBrent

3 replies

iBr3nt
iBr3ntCorrect answer
Inspiring
Jun 6, 2011 9:52 PM UTC

Hi,

The best you can do is set a value in the Info.plist to exit application on suspend. Look at the documentation here to see the list of keys you can set to influence the apps behavior: http://developer.apple.com/library/ios/#documentation/general/Reference/InfoPlistKeyReference/Articles/iPhoneOSKeys.html

You would add the following text within your -app.xml <iPhoneAdditions> tag, below the UIDeviceFamily tag:

<key>UIApplicationExitsOnSuspend</key>

<true/>

HTH,

iBrent

Translate
Jun 7, 2011 1:25 PM UTC

Thanks much - that seems to mostly work. The only thing is the app still appears in the "multitask" dock if the home button is double-clicked. Is that just how it works?

Translate
Jun 7, 2011 1:30 PM UTC

Yes, Because the "multitask" bar is actually the recently used applications

bar. It is not at all necessary that apps in that bar are running.

Translate