Prevent iphone from sleeping but allow screen lock
<p>using iphone SDk3.0, how does one prevent the iphone from sleeping so wifi remains
on but still allow the screen to be dimmed(locked).</p>

<p>Disabling the idle timer is no good as that prevents screen lock and drains the battery really quick.</p>

<p>Thanks</p>
