Set your access token and permissions
MGLMapboxAccessToken key to the
Info.plist file with the value of your Mapbox access token:
To give your users a brief explanation of how the app will use their location data if you choose to access their location, add a
NSLocationWhenInUseUsageDescription key to the
Info.plist file with the description:
Shows your location on the map and helps improve the map.