Question : prevent iphone to sleep swift
Answered by : mobile-star
UIApplication.sharedApplication().idleTimerDisabled = true
Source : | Last Update : Fri, 17 Jul 20
Answered by : mobile-star
UIApplication.sharedApplication().idleTimerDisabled = true
Source : | Last Update : Fri, 17 Jul 20