iPhone SDK Tip & Trick #002: How do I Disable the Idle Timer?

Question:

How do I disable the idle timer?

Answer:

[[UIApplication sharedApplication] setIdleTimerDisabled:YES];

Leave a Reply

Your email address will not be published. Required fields are marked *