Prevent iOS screen from locking/dimming

UIApplication.sharedApplication.setIdleTimerDisabled = true

Leave a Reply

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

− 5 = 1