【发布时间】:2012-05-25 10:55:17
【问题描述】:
点击注解点时显示的弹出框是内置的还是开发人员创建的视图?
MKPointAnnotation *annotationPoint = [[MKPointAnnotation alloc] init];
annotationPoint.coordinate = annotationCoord;
annotationPoint.subtitle = user.purchasedLocation;
[mapView addAnnotation:annotationPoint];
我想在我的地图视图中创建一个如上图所示的弹出框。 当我将上述代码添加到我的应用程序时,它只显示街道地址。 在 MapKit 框架中是否有内置方法来显示这种弹出框,如上图所示的用户图像和箭头图像?
谢谢。
【问题讨论】:
标签: iphone google-maps mapkit