AIR app still running when the iphone is blocked?

Posted by nmarti on Stack Overflow See other posts from Stack Overflow or by nmarti
Published on 2012-10-10T09:34:33Z Indexed on 2012/10/10 9:36 UTC
Read the original article Hit count: 163

Filed under:
|
|
|

I just made a simple game with flash professional 6.0 and adobe AIR sdk 3.4 for iPhone.

The problem is this: when I lock the iphone pressing the power button, the screen switches off as usual, but the music of the game still sounds. If I exit the game pressing the home button it exits fine. Is only when locking the phone with the app opened.

Also, I opted-out of multitasking for my app, so if I close my app with the home button and I reload it, it loads the main menu.

Anyone knows how can I solve this?

© Stack Overflow or respective owner

Related posts about iphone

Related posts about ios