Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to remove info button on iOS MapBox?

Tags:

ios

mapbox

I just integrated MapBox into my iOS project and noticed that info button in bottom right. How to remove it? It will confuse a lot of people later on.

enter image description here

like image 341
Gintas_ Avatar asked Aug 11 '16 20:08

Gintas_


1 Answers

Set

mapView.logoView.isHidden = true
mapView.attributionButton.isHidden = true

and in info.plist

MGLMapboxMetricsEnabledSettingShownInApp to YES

like image 73
Timeless Avatar answered Oct 04 '22 00:10

Timeless