How to remove country/state names from MKMapview

2019-01-26 20:49发布

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 or any other third party maps.

I want to use this functionality with MKMapTypeStandard map type.

1条回答
叼着烟拽天下
2楼-- · 2019-01-26 21:29

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;
查看更多
登录 后发表回答