Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我在我的应用程序中使用核心位置框架我想询问当用户更改其当前位置时调用核心位置框架的哪个功能。
当有新位置可用时调用此方法。如果没有以前的位置可用, oldLocation 可能为零。
- (void)locationManager:(CLLocationManager *)manager didUpdateToLocation:(CLLocation *)newLocation fromLocation:(CLLocation *)oldLocation;