Signature Capture

  • This view controller is to host a signature capture view for user to sign.

    Here is a code snippet how to use this FUISignatureCaptureController.

    
    let signatureCaptureController = FUISignatureCaptureController.createInstance()
    signatureCaptureController.delegate = self
    let navController = signatureCaptureController.navigationController ?? UINavigationController(rootViewController: signatureCaptureController)
    navController.modalPresentationStyle = .formSheet
    self.navigationController?.present(navController, animated: true, completion: nil)
    
    

    Theming

    Supported TEXT class paths:

    fdlFUISignatureCaptureController_title {}
    

    Supported TEXT properties:

    font-color: (Color)
    font-style: (UIFontTextStyle)
    

    Supported BarButtonItem class paths:

    fdlFUISignatureCaptureController_cancelButtonItem
    fdlFUISignatureCaptureController_clearButtonItem
    fdlFUISignatureCaptureController_doneButtonItem
    fdlFUISignatureCaptureController_closeButtonItem
    fdlFUISignatureCaptureController_reenterSignatureButtonItem
    

    Supported UIBarButtonItem properties:

    font-color { -disabled } (Color)
    font-style: { -disabled } (UIFontTextStyle)
    image { -disabled } (Image)
    

    Supported UINavigationBar class paths:

    fdlFUISignatureCaptureController_navigationBar
    

    Supported UINavigationBar properties:

    background-color: (Color)
    

    Supported UIToolBar class paths:

    fdlFUISignatureCaptureController_toolBar
    

    Supported UIToolBar properties:

    background-color: (Color)
    
    See more

    Declaration

    Swift

    open class FUISignatureCaptureController : UIViewController
  • This is the view to be displayed in the FUISignatureCaptureController.

    This FUISignatureCaptureView has a “X” image followed by a signature line for user to sign above the line. This view is created from FUISignatureCaptureController. Developer should not instantiate this view directly.

    Theming

    Supported STROKEVIEW class paths:

    fdlFUISignatureCaptureView {}
    

    Supported STROKEVIEW properties:

    background-color: (Color)
    stroke-color: (Color)
    stroke-width: (Number)
    

    Supported IMAGE class paths:

    fdlFUISignatureCaptureView_xImageView {}
    

    Supported IMAGE properties:

    tint-color: (Color)
    

    Supported VIEW class paths:

    fdlFUISignatureCaptureView_signatureLineView {}
    

    Supported VIEW properties:

    background-color: (Color)
    

    Supported TEXT class paths:

    fdlFUISignatureCaptureView_footnote {}
    

    Supported TEXT properties:

    font-color: (Color)
    font-style: (UIFontTextStyle)
    
    See more

    Declaration

    Swift

    public class FUISignatureCaptureView : UIView, FUIStrokeComponent
  • This is the delegate protocol to be used in FUISignatureCaptureController.

    See more

    Declaration

    Swift

    public protocol FUISignatureCaptureControllerDelegate : AnyObject