In my app i used mapKit, the problem is the map should be in specific color like this :
i try to change the type of map, but nothing match with this picture, so i thought if i can change the color of the mapKit.
anyone faced like this problem ?
any help please ?
thanks
Asked
Active
Viewed 3,282 times
2

Rawan
- 1,589
- 4
- 23
- 47
2 Answers
0
You can apply a mask by adding an Overlay betwen the map and Label/Road:
let path = NSBundle.mainBundle().pathForResource("overlay", ofType: "png")
let fileURL = NSURL(fileURLWithPath: path!)
self.overlay = MKTileOverlay(URLTemplate: fileURL.absoluteString)
self.overlay!.canReplaceMapContent = false
self.mapView.addOverlay(self.overlay!, level: MKOverlayLevel.AboveRoads)

Assma ben aicha
- 1
- 1