iPod won't sleep when connected to debugger

3.6k Views Asked by At

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?

1

There are 1 best solutions below

2
On

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