A block that processes the results of a snapshot request.
- iOS 7.0+
- macOS 10.9+
- tvOS 9.2+
- watchOS 5.0+
This block takes the following parameters:
The image data that was generated or
nilif an error occurred
The error that occurred or
nilif the snapshot was generated successfully.