A Boolean indicating whether the map displays point-of-interest information.
Deprecated
Use point
instead.
SDKs
- iOS 7.0–13.0Deprecated
- macOS 10.9–10.15Deprecated
- Mac Catalyst 13.0–13.0Deprecated
- tvOS 9.0–13.0Deprecated
Framework
- Map
Kit
Declaration
var showsPointsOfInterest: Bool { get set }
Discussion
When this property is set to true
, the map displays icons and labels for restaurants, schools, and other relevant points of interest. The map
property must be set to MKMap
or MKMap
for points of interest to be displayed.The default value of this property is true
.