1 Reply Latest reply: Dec 19, 2011 12:41 AM by sanika Kulshreshtha RSS

    switching between different apps in mobile flex 4.5.1

    madhu_51

      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

        • 1. Re: switching between different apps in mobile flex 4.5.1
          sanika Kulshreshtha Adobe Employee

          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>UIApplicationExit sOnSuspend</key><true/> ]]>

              </InfoAdditions>

            </iPhone>

           

          Thanks,

          sanika