How to remove country/state names from MKMapview

前端 未结 1 1840
陌清茗
陌清茗 2020-12-19 23:33

I want to remove country / state names from MKMapview in iPhone. Means I need only blank map view without any name on it. Is this possible with MKMapview<

相关标签:
1条回答
  • 2020-12-19 23:59

    Have a look at MKMapViews property mapType MKMapTypeSatellite. Setting this type you will see a map without any names on it. See the docs: MkMapView Class Reference

    Code:

    self.map.mapType = MKMapTypeSatellite;
    
    0 讨论(0)
提交回复
热议问题