i just want to change the placemark name. I hear开发者_开发百科d i need to create a custom class but it doesn't work.
Always tell me the coordinates are in ReadOnly? Thanks
You need to create a class that implements the MKAnnotation protocol. Your implementation can implement the title and subtitle properties. You instantiate your annotation implementation and add it to your MKMapView via addAnnotation.
精彩评论