【发布时间】:2011-01-22 03:50:41
【问题描述】:
当应用程序在后台或终止时使用 startMonitoringSignificantLocationChanges 时,如果检测到重大更改,Apple 会声明它将将该应用程序带回前台。但是,我仍然能够在 didUpdateToLocation CLLocationManager 委托方法中获取 ivar 的值(以前在应用程序处于前台时设置)吗?还是丢了?
如果丢失,在应用程序终止/后台运行并由位置管理器带回前台后,保持这些值的最佳方式是什么?
【问题讨论】:
标签: iphone gps location cllocationmanager