1 Reply Latest reply on Apr 8, 2012 9:41 AM by FrankD272389

    Stop The iPhone From Sleeping Programmatically?

    FrankD272389 Level 1



      in Objective C you have to add the following line of code to stop the iPhone from going to sleep mode:

      [[ UIApplication sharedApplication ] setIdleTimerDisabled: YES ];

      How it works in Adobe Flex?


      Thanks in advance,