Ank*_*yas 2 mkmapview mkannotation ios4
我正在使用MKMapView Annotation来显示pin的.在我的项目中有很多引脚丢弃.我想只显示当前位置的引脚颜色和其他引脚颜色之间的差异.那么我如何才能显示当前位置的两种不同引脚的颜色和其他地方.
// Identify which pin is being selected
if([[annotation title] isEqualToString:@"Current Location"])
{
annView.pinColor = MKPinAnnotationColorRed;
}
Run Code Online (Sandbox Code Playgroud)
还要检查此链接: iOS 4.2中的Map Annotation和MKMapView问题?