UIBackgroundModes location and significant location changes with region monitoring

后端 未结 2 1315
甜味超标
甜味超标 2020-12-25 15:14

I have an app that uses a combination of startMonitoringForRegion: and startMonitoringSignificantLocationChanges to keep aware of where the user is

2条回答
  •  醉话见心
    2020-12-25 15:44

    Yes, you must need to add "location" key under Backround modes in Info.plist if you are using significant change location service (startMonitoringSignificantLocationChanges) to monitor user location in the background and in the app kill state.

提交回复
热议问题