iOS Geofence CLCircularRegion monitoring. locationManager:didExitRegion does not seem to work as expected

前端 未结 9 760
陌清茗
陌清茗 2020-11-28 03:09

I am currently trying to get my app to monitor particular regions using CoreLocation however I am finding that it does not seem to work as expected, it seems to

9条回答
  •  一整个雨季
    2020-11-28 03:56

    Sounds like even 1 meter should work (and work better on iPhone 4S+ devices):

    startMonitoringForRegion:

    (...)

    In iOS 6, regions with a radius between 1 and 400 meters work better on iPhone 4S or later devices. (In iOS 5, regions with a radius between 1 and 150 meters work better on iPhone 4S and later devices.) On these devices, an app can expect to receive the appropriate region entered or region exited notification within 3 to 5 minutes on average, if not sooner.

提交回复
热议问题