Skip to main content
Participant
December 16, 2011
Question

switching between different apps in mobile flex 4.5.1

  • December 16, 2011
  • 1 reply
  • 829 views

Hi all,

I have requirement like i want to know which callback or state or method will be usefull if i am killing the app and moving to other app.Or the viceversa scene. Multitasking in ipad.

Thanks

This topic has been closed for replies.

1 reply

Participating Frequently
December 19, 2011

You should set the UIApplicationExitsOnSuspend to true if you want to exit the app on pressing Home button. The API NativeApplication.nativeApplication.exit() does not work on iOS because iOS does not provide any way for an application to exit programatically.

<iPhone>

    <InfoAdditions>

       <![CDATA[<key>UIDeviceFamily</key><array><string>1</string></array><key>UIApplicationExitsOnSuspend</key><true/> ]]>

    </InfoAdditions>

  </iPhone>

Thanks,

sanika