简体   繁体   中英

App going background and auto lock

Is there any difference between- An iphone app going background and phone is getting auto locked

I am developing an iPhone app My app resumes its uploading process when it return from background But it is not working if unlocked from auto locked

What is the issue..I have tried alot,but could not figure it out..Please help me

iOS shuts down WiFi when the screen is off - which is good as far as battery savings.

So please check the wifi connection while uploading..

You can restrict the auto-lock or device resume through programmatically while uploading and enable auto-lock programmatically after done the upload process .

If the device is connected to a power source, then Wifi remains enabled, even if the device goes to sleep. If the device is not connected to a power source, then Wifi is disabled once the device goes to sleep.

This of course was by design in an effort to reduce battery consumption

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM