FUIOnboardingScanConfirmView
@MainActor
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
whitecheck 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
FUIWelcomeControllerDelegateshould 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
@MainActor 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
@MainActor public var confirmationMessageString: String? { get set } -
The title string for the “Continue” button. The default string is from localized strings file - “Continue”
Declaration
Swift
@MainActor public var continueButtonTitleString: String? { get set } -
The custom width for the “Continue” button. The default is 210.
Declaration
Swift
@MainActor 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 @MainActor public weak var continueButtonWidthConstraint: NSLayoutConstraint! -
The
FUIOnboardingScanViewControllerthat will display this view.Declaration
Swift
@MainActor public weak var controller: FUIOnboardingScanViewController? { get set } -
The HCP server name.
Declaration
Swift
@MainActor public var hcpServer: String! { get set }