pinkstone.co.uk
How to prevent the screen from sleeping in iOS
Screen dimming getting on your nerves? That rancid 5min timeout not enough for testing, or does your app need to stay awake while it’s in the foreground? Fear not, UIApplication has a paramet…