Preventing the iPhone from going to sleep!

If you have an application that requires the iPhone from going to sleep when the user is not touching the screen or otherwise interacting with the iPhone, you need to disable the idle timer.
This is very easily done in code, but remember, it does use up more battery life, so the idle timer should only [...]

Rotating the iPhone Screen

If you need your application to turn as the iPhone turns, rotating the content on the view to always point towards the user, it is a simple way to achieve this.
This code is usually held in your View Controller file.
You’ll find this in your Classes folder in your project. What you will also notice is [...]

Hiding the iPhone Status Bar

If you have an application that needs the full screen of the iPhone, sometimes it is handy to get rid of the status bar at the top of the screen. You’ll see this happen a lot with games, where the developer does not want the user to see the status bar.
This is an easy code [...]

Page 6 of 6« First...23456