How to enable iPhone auto lock during MPMoviePlayer playback?

Posted by obiwahn on Stack Overflow See other posts from Stack Overflow or by obiwahn
Published on 2010-03-21T23:46:02Z Indexed on 2010/03/21 23:51 UTC
Read the original article Hit count: 224

When I play a video with MPMoviePlayerController in my app my iPhone does not auto lock (tested OS 3.0 & 3.1.2). However, the application.idleTimerDisabled = NO, so this setting is not affected by MPMoviePlayerController.

How can I get my iPhone to sleep normally (e.g. after 3 min screen dims, then goes dark) when my app is running and playing a video?

© Stack Overflow or respective owner

Related posts about mpmovieplayercontroller

Related posts about iphone