Contents

MKMapSnapshotter.CompletionHandler

A block that processes the results of a snapshot request.

Declaration

typealias CompletionHandler = (MKMapSnapshotter.Snapshot?, (any Error)?) -> Void

Parameters

  • snapshot:

    The image data that the snapshotter generates, or nil if an error occurs.

  • error:

    The error that occurs, or nil if the framework generates the snapshot successfully.

See Also

Generating a snapshot