7 Replies Latest reply on Mar 6, 2013 7:58 PM by asydd

    NativeApplication.nativeApplication.exit(); problem in iOS app

    asydd Level 1

      Have this function called to exit an iOS app:


      function ExitApp(event:MouseEvent):void {


                trace('NativeApplication Exit');




      The function is triggered as the listenIO() does its thing and the trace() triggers, but no exit(). Closing the iOS app by the hardware menu button exits but when re-entering the app, it is stll where it was left and I don't have a function to return to a preset state.

      Help to exit the app appreciated, thank you.