FUIOnboardingScanConfirmView

open class FUIOnboardingScanConfirmView : NibDesignable

This is the view that will be displayed when the scanner got a QR code from either scanner or a photo image. And this QR code is validated by the delegate of the FUIOnboardingScanViewController.

This view includes the following components:

  • Title label: with default text “Confirmation”
  • Check image: a green circle with white check mark in the middle
  • Success message label: with default text “Scan succeeded. You will be connected to:”
  • SAP BTP server label: the text should be the SAP BTP server name that the implementation of the following function of FUIWelcomeControllerDelegate should provide.

    func welcomeController(_ welcomeController: FUIWelcomeController, willNavigateToScannerScreen scanController: FUIOnboardingScanViewController)
    
  • Continue button: when this is tapped, the app will continue rest of the onboarding tasks.

Theming

Supported style classes

fdlFUIOnboardingScanConfirmView
fdlFUIOnboardingScanConfirmView_titleLabel
fdlFUIOnboardingScanConfirmView_successMessageLabel
fdlFUIOnboardingScanConfirmView_hcpServerLabel
fdlFUIOnboardingScanConfirmView_continueButton
fdlFUIOnboardingScanConfirmView_continueButton_touchDown
  • The title string for the QR code scan confirmation screen. The default string is from localized strings file - “Confirmation”

    Declaration

    Swift

    public var confirmationTitleString: String? { get set }
  • The success message for the QR code scan confirmation screen. The default string is from localized strings file - “Scan succeeded. You will be connected to:”

    Declaration

    Swift

    public var confirmationMessageString: String? { get set }
  • The title string for the “Continue” button. The default string is from localized strings file - “Continue”

    Declaration

    Swift

    public var continueButtonTitleString: String? { get set }
  • The custom width for the “Continue” button. The default is 210.

    Declaration

    Swift

    public var continueButtonWidth: CGFloat? { get set }
  • This is the width of the “Continue” button. Developer may set the width of this button. The default is 201 px.

    Declaration

    Swift

    @IBOutlet
    public weak var continueButtonWidthConstraint: NSLayoutConstraint!
  • The FUIOnboardingScanViewController that will display this view.

    Declaration

    Swift

    public weak var controller: FUIOnboardingScanViewController? { get set }
  • The HCP server name.

    Declaration

    Swift

    public var hcpServer: String! { get set }