MKMapSnapshotter
A utility class for capturing a map and its content into an image.
Declaration
class MKMapSnapshotterOverview
Use an MKMapSnapshotter object when you want to capture the system-provided map content, including the map tiles and imagery. The snapshotter object captures the best image possible by loading all of the available map tiles before capturing the image.
Configure a snapshotter object using an MKMapSnapshotter.Options object. The snapshot options specify the appearance of the map, including which portion of the map the snapshotter captures.
Topics
Creating a snapshotter object
Generating a snapshot
start(completionHandler:)start(with:completionHandler:)MKMapSnapshotter.CompletionHandlercancel()isLoading