开发者

Change Current Location label text

I had already googled for an answer, but nothing happens... I need to change the text of the blue point that show the current location. When you geolocalize your position, the iPhone shows you a blue point with your position, if you tap it, its show you a text that say开发者_JAVA技巧s "Current Location". I need to change that text with something like... "Here you are", by example.

I really appreciate your answer, thx.


That blue dot is an instance of MKUserLocation. You can access it by calling the map view's userLocation property. You can then change it's title and subtitle properties.

Here's the documentation.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜