VerIDImageWriterService

@objc
public class VerIDImageWriterService : NSObject, ImageWriterService

Ver-ID SDK’s default implementation of the ImageWriterService protocol

  • Write image to a temp file and return the file URL

    Declaration

    Swift

    @objc
    public func writeImage(_ image: VerIDImage, completion: ((Error?) -> Void)?) -> URL?

    Parameters

    image

    Image to write

    Return Value

    File URL of the image temp file