MKMapSnapshotter.CompletionHandler
A block that processes the results of a snapshot request.
Declaration
typealias CompletionHandler = (MKMapSnapshotter.Snapshot?, (any Error)?) -> VoidParameters
- snapshot:
The image data that the snapshotter generates, or
nilif an error occurs. - error:
The error that occurs, or
nilif the framework generates the snapshot successfully.