Does anybody know how to disable mode devices idle while app is running? I wrote iOS app with webservices, but when screen saver starts, i have synchronization fall.
Thanks
Assuming by "screensaver" you mean disable the devices idle timer that turns off the screen, you can use this simple line:
[UIApplication sharedApplication].idleTimerDisabled = YES;
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With