卫星视图如何在详细视图控制器中实现,在触摸 MKPinAnnotation 标注时显示

How is the Satellite view implemented in the detail view controller, displayed upon touch of a MKPinAnnotation Callout

在苹果地图应用程序中,如果您点击 MKPinAnnotation 标注,将显示以下视图。我试图重新创建类似的东西,但我不确定如何实现卫星图像(我假设它是所选注释坐标上的 MKMapView)以及如何在下拉视图时为卫星视图的延伸设置动画?还有 卫星视图不断地来回旋转 这是标准动画吗?

总结:

How is the map image at the top implemented?

这不是图片。这是一个 MKMapView。

How is it stretched/zoomed when the user drags the bottom(table) view down

滚动 scrollView.contentOffest.y 时更新 mapview.frame.size.height。

How is the image animated so that it rotates, is it a built in feature?

MKMapView setCamera:animated: 或动画 MKMapView.camera

我制作了一个示例,您可以下载 here