Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SWIFT

prevent iphone to sleep swift

UIApplication.sharedApplication().idleTimerDisabled = true
 
PREVIOUS NEXT
Tagged: #prevent #iphone #sleep #swift
ADD COMMENT
Topic
Name
4+1 =