简体   繁体   中英

My app disappeared from “Background App Refresh” setting on iOS8

My app using iBeacon and GeoFence Services worked well in the background on iOS 7.1, but it didn't on iOS 8. So when I went to "Background App Refresh" setting to check my app, I realized it wasn't shown in the list. I think that's y can't enable the background services. Do I have to update my app to be compatible for iOS 8 about this point? or is it just a iOS8 bug?? Anyone, please let me know.

I've found the solution! In project target settings, go to Capabilities (second tab), in Background modes (which should be ON) there's a mode called Background Fetch. If you check this mode, the app will appear in the Background Refresh list in phone settings. In iOS 7 the app was in the Background Refresh list if just "Location Services" background capability was checked, but it seems that it's not enough for iOS 8. Checking the "Background Fetch" (with or without "Location Services" capability) will fix this issue. Edit

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