startMonitoringSignificantLocationChanges not working in swift

后端 未结 4 1309
我寻月下人不归
我寻月下人不归 2021-01-02 10:31

I\'d added CLLocationManager in my app using Swift in the AppDelegate file.

In the Appdelegate.swift file,

import CoreLocation
@UIApplicationMain
cla         


        
4条回答
  •  天涯浪人
    2021-01-02 11:03

    Note: Apps can expect a notification as soon as the device moves 500 meters or more from its previous notification. It should not expect notifications more frequently than once every five minutes. If the device is able to retrieve data from the network, the location manager is much more likely to deliver notifications in a timely manner. startMonitoringSignificantLocationChanges()

提交回复
热议问题