One Logo Pool Ball
_MapKit_SwiftUI · IOS API REFERENCE

MapReader

struct · iOS 17.0+ · SDK 27.1

@MainActor @preconcurrency struct MapReader<Content> where Content : View

A container view that defines its contents as a function of information about the first contained map. The map reader's content builder receives a ``MapProxy`` instance. This instance can used to get the information needed to convert between a ``MapCamera``, and an ``MKMapRect`` or ``MKMapRegion``.

Members (0)

This type has no directly callable members in this snapshot. See the framework’s skipped declarations for unsupported APIs.

Skipped declarations

2 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.

MapReader.init(content:)

callback cannot propagate synchronous failure

MapReader.body

This protocol needs associated types that cannot yet cross the bridge.

All _MapKit_SwiftUI types →