Skip to main content
Participating Frequently
June 2, 2011
Question

Stop app from multi-tasking on iOS?

  • June 2, 2011
  • 1 reply
  • 975 views

I'm creating an iOS app using flash CS5.5. It's part of a school project, and we have an exhibit/show coming up next week.

My question is right now when I press the main button on the iPad, it takes me back to my dock of app icons... but if I press on the app again it takes me back to the screen I was on within the app.  Since this is showing in an exhibit, I want it to shut down every time someone exits out of it (so it restarts for the next person).

How do I stop the app from multi-tasking?

This topic has been closed for replies.

1 reply

Participating Frequently
June 2, 2011

Hi,

You could set UIApplicationExitsOnSuspend key to true in the iPhone section of application.xml.

Thanks,

Sanika

Participating Frequently
June 2, 2011

I'm sorry... Can you explain further?  I'm not sure what that means.

relaxatraja
Inspiring
June 2, 2011

Change the xml tags according to below:

<iPhone>

                                <InfoAdditions><![CDATA[ 

                                                <key>UIStatusBarStyle</key> 

                                                <string>UIStatusBarStyleBlackOpaque</string> 

                                                <key>UIRequiresPersistentWiFi</key> 

                                                <false/>

                                                <key>UIRequiresPersistentWiFi</key> 

                                                <false/>

                                                <key>UIPrerenderedIcon</key>

                                                <false/>>

                                               <key>UIApplicationExitsOnSuspend</key>

                                                <true/>

                                                <key>UIDeviceFamily</key>

                                                <array>

                                                    <string>2</string>

                                                </array>

                                ]]></InfoAdditions> 

                                <requestedDisplayResolution>standard</requestedDisplayResolution>

                </iPhone>