Contents

showsTraffic

A Boolean value that indicates whether the map displays traffic information.

Declaration

var showsTraffic: Bool { get set }

Discussion

The mapType property must be set to MKMapType.standard or MKMapType.hybrid for traffic information to be shown. The default value of this property is false.

See Also

Configuring the map display