Required Background modes key is not there in info-plist file

后端 未结 3 2243
天命终不由人
天命终不由人 2020-12-17 15:21

I want to set required background mode key value so that my app also works in background. Actually i want to get the user location updates when the app is in background, but

3条回答
  •  一个人的身影
    2020-12-17 16:02

    In Xcode 5, Project setting -> Target -> Capabilities -> Background modes -> check Location updates.

    If you are using an earlier version of Xcode, set the background mode for Location as in the following screenshot.

提交回复
热议问题