开发者

objective-c iphone programming : set placemark custom name

开发者 https://www.devze.com 2023-02-22 05:40 出处:网络
i just want to change the placemark name. I hear开发者_开发百科d i need to create a custom class but it doesn\'t work.

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

精彩评论

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