Skip to main content
Participating Frequently
Jun 2, 2011 2:55 AM UTC
Question

Stop app from multi-tasking on iOS?

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 is closed to new replies. Start a new post to keep the conversation going.

5 replies

Participating Frequently
Jun 2, 2011 3:56 AM UTC

Hi,

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

Thanks,

Sanika

Translate
Participating Frequently
Jun 2, 2011 4:31 AM UTC

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

Translate
relaxatraja
Inspiring
Jun 2, 2011 5:52 AM UTC

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>

Translate