Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

iPod won't sleep when connected to debugger

I've got my iPod connected to my debugger running in XCode. The auto-lock is set to 1 minute. When the debugger is not running, the iPod goes to sleep after 1 minute of inactivity. However, when the debugger is running, my iPod won't sleep.

This is frustrating because I want to see what methods get called on my app when the iPod goes to sleep.

Does anyone know how to solve this problem?

like image 279
simon Avatar asked Feb 03 '11 23:02

simon


1 Answers

Just lock it manually by pressing the top power/lock button. It calls the same methods (applicationDidEnterBackground:) on iOS devices which support multitasking.

like image 77
thestig Avatar answered Oct 12 '22 13:10

thestig