VGSFilePickerController

public class VGSFilePickerController

Controller responsible for importing files from device sources.

Attributes

Initialization

Methods

  • Present file picker view

    Declaration

    Swift

    public func presentFilePicker(on viewController: UIViewController, animated: Bool, completion: (() -> Void)? = nil)

    Parameters

    viewController

    UIViewController that will present card scanner

    animated

    pass true to animate the presentation; otherwise, pass false

    completion

    the block to execute after the presentation finishes

  • Dismiss file picker view

    Declaration

    Swift

    public func dismissFilePicker(animated: Bool, completion: (() -> Void)? = nil)

    Parameters

    animated

    pass true to animate the dismiss of presented viewcontroller; otherwise, pass false

    completion

    the block to execute after the dismiss finishes