开发者

How to show more text on annotation view

I have created an iPhone app which loads the map using the MKMapkit. When clicking on the map, it shows MKAnnotation with title a开发者_JS百科nd subtitle strings.

Now I want to know how I can show the annotation with multiple lines of text. Please show me how to do it. Thanks for your time and help.


Check out the MapCallOuts demo from Apple.


You will need to sublass the annotation view and make your own callout see this example How to add more details in MKAnnotation in iOS this may also help source provided https://developer.apple.com/library/ios/#samplecode/WeatherMap/index.html

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜