开发者

objective-c iphone programming : set placemark custom name

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜