I cannot get traffic to show on a map using MapKit, MKMapView.
When I open the "iPhone
Maps"application the
traffic is visible, yet when using the MKMapView within an application, the traffic does not show.
I have created a simple application, which requires no coding by simply dragging a MKMapView onto the StoryBoard
by creating a new Single View application.
I have set the Map type to be standard and set the ShowTraffic to true.
Start a new project, add a MKMapView to the storyboard and set all the properties of the MKMapView to true using the
:Attribute InspectorType: Standard
Shows: Buildings, Compass, Scale, Traffic, Points of Interest, User Location
I am using Xcode 9.4.1 and IOS Version 11.4.1
How do I get the traffic to show (Is this an apple IOS bug?)
-
I have posted the same question on StackOverFlow