6

enter image description here

I've Required an iOS application with a black theme, and would really like to make the displayed Apple Map also in black colors.

I see nothing in the native documentation that talks about changing look for MKMapView.

I've Googled the topic and tried to change MKOverlayView.But, I couldn't find anything.

Is this even possible? Can I change the background colors of the Apple Map.

Thank you.

Dixit Akabari
  • 2,419
  • 13
  • 26

1 Answers1

0

You can customize map using MapBoxKit

https://www.mapbox.com/ios-sdk/api/3.6.4/runtime-styling.html

In Mapkit you can only set dark mode as hybrid as follow:

in viewDidLoad write below code:-

 mapView.mapType = .Hybrid

enter image description here

Need to add Privacy - Photo Library Usage Description in info.plist

also you can set from IB as above:-

enter image description here

Harshal Valanda
  • 5,331
  • 26
  • 63
arpita
  • 175
  • 9