Before iOS 11, there are many ways to keep the app active in the background, but iOS 11 will not work and will be killed after about 173 seconds. Is there any way to keep the app active in the background of iOS 11?
Asked
Active
Viewed 604 times
0
-
It is fixed from iOS 11.1. Read it: 1) https://stackoverflow.com/questions/46330053/ios11-swift-silent-push-background-fetch-didreceiveremotenotification-is-not 2) https://forums.developer.apple.com/thread/86034 – Jamshed Alam Dec 13 '17 at 08:16
-
Just add the permission you need in plist. NSLocationWhenInUseUsageDescription/NSLocationAlwaysUsageDescription – Jamshed Alam Dec 13 '17 at 08:19
-
NSLocationWhenInUseUsageDescription/NSLocationAlwaysUsageDescription for BaiduMap,it doesn't work – Vision_colion Dec 13 '17 at 08:43
-
Use NSLocationAlwaysUsageDescription for always use. Search how to use it in plist. And your problem is a bug of apple's. They solved it from iOS 11.1 – Jamshed Alam Dec 13 '17 at 08:49
-
You mean that iOS 11 can not keep the APP active in the background? – Vision_colion Dec 13 '17 at 08:56