同步阅读进度,多语言翻译,过滤屏幕蓝光,评论分享,更多完整功能,更好读书体验,试试 阅读 ‧ 电子书库
CHAPTER 9 ANSWERS
The framework required to use an MKMapView is the MapKit.framework.The framework used to get the current location of an iOS device is the CoreLocation.framework.The mapView:didUpdateUserLocation: method of the MKMapViewDelegate is called when the user’s location is determined.The MKLocalSearchRequest class is used to create the request, while the MKLocalSearch class is used to perform the search and process the results.Local search results are returned using MKMapItem objects.The ^ character is used to denote the beginning of a block.The subclass of MKAnnotation you can use to show a pin on an MKMapView is the MKPointAnnotation class.The property of the MKPinAnnotationView class you can set to animate the pin onto the MKMapView is the animateDrop property.