My iPhone application has code that handles the event for when the iPhone falls asleep, and re-awakens. My question is, how do I test this using either the iPhone or the simulator. Is there a hotkey or command to force the phone or simulator to fake "go to sleep?".
Thanks.