FUITouchIDErrorViewController

public class FUITouchIDErrorViewController : UIViewController

This is a ‘UIViewController’ to display the error view when Touch ID or Face ID authentication is cancelled.

Developer could set the static string properties in this class to override the default text displayed in this view.

Theming

fdlFUITouchIDErrorViewController_errorTitleLabel {
font-color: @primary1;
}

fdlFUITouchIDErrorViewController_errorMessageLabel {
font-color: @primary1;
}

fdlFUITouchIDErrorViewController_actionButton {
font-size: 16;
font-name: system;
font-color: @primary6;
background-color: @tintColorDark;
corner-radius: 8;
border-width: 1;
border-color: @tintColorDark;
/* order (with whitespace as separator): [top] [right] [bottom] [left]
  • The navigation title of the error view. The default string is from localized strings file - “Error”

    Declaration

    Swift

    public static var titleString: String?
  • The title of the error view. The default string is from localized strings file - “Authentication Error”

    Declaration

    Swift

    public static var errorTitleString: String?
  • The message of the error view for Touch ID devices. The default string is from localized strings file - “Please authenticate using Touch ID to use the app.”

    Declaration

    Swift

    public static var errorMessageString: String?
  • The message of the error view for Face ID devices. The default string is from localized strings file - “Please authenticate using Face ID to use the app.”

    Declaration

    Swift

    public static var errorMessageStringForFaceID: String?
  • The action button title text. The default string is from localized strings file - “Authenticate”

    Declaration

    Swift

    public static var actionTitleString: String?
  • Creates a FUITouchIDErrorViewController object from storyboard.

    Declaration

    Swift

    public class func createInstanceFromStoryboard() -> FUITouchIDErrorViewController

    Return Value

    A FUITouchIDErrorViewController object.