tladesignz/AdParticipesCumCepis

disable sleep / lock while share/send is active

Closed this issue · 2 comments

n8fr8 commented

https://developer.apple.com/forums/thread/111810

UIApplication.shared.isIdleTimerDisabled = true

Yeah, thanks, forgot about this one. Will be interesting to see, if Apple allows us to make a nightlamp out of a mobile, just to keep the app running for serving websites.

It's an ugly hack for something which Apple is obviously not keen on happening. Otherwise, they would provide proper facilities for running web servers in the background.