FUIActivationScreen
@MainActor
open class FUIActivationScreen : FUIWelcomeController, UITextFieldDelegate, FUISolidNavigationBarProtocol, UIScrollViewDelegate
The Activation Screen is presented after the Welcome Screen in the case of an onboarding scenario
where the application has not been configured, and should prompt the end user to pick between email
address entry or the barcode scanner, to obtain connection settings. The screen displays a
headline Label with the title and a detailLabel with instructions on how to start the
activation process and options to enter the email address or click the Scan button to proceed to
the next step in the onboarding process.
Theming
Supported style classes
fdlFUIActivationScreen
fdlFUIActivationScreen_headlineLabel
fdlFUIActivationScreen_detailLabel
fdlFUIActivationScreen_primaryActionButton
fdlFUIActivationScreen.subheadlineLabel
fdlFUIActivationScreen_secondaryActionButton
fdlFUIActivationScreen_navigationBar
Attention
The delegate object with type FUIWelcomeControllerDelegate is declared as a weak reference. On deallocation it will be automatically set to nil. To keep it alive as expected, developer should retain the delegate object during its whole execution scope.
-
Creates a
FUIActivationScreenobject from storyboard and initialize subview components.Declaration
Swift
@MainActor public class func createInstanceFromStoryboard() -> FUIActivationScreenReturn Value
An FUIActivationScreen object.
-
headlineLabel - Setting `headlineLabel.text displays the activation text on the screen; otherwise, framework displays the default text.
Declaration
Swift
@IBOutlet @MainActor public private(set) var headlineLabel: UILabel! { get } -
detailLabel - Setting detailLabel.text displays the activation instructions on the screen otherwise, framework displays the default text.
Declaration
Swift
@IBOutlet @MainActor public private(set) var detailLabel: UILabel! { get } -
primaryActionButton - Setting primaryActionButton.title displays the specific title otherwise, framework displays the default title ‘Next’.
Declaration
Swift
@IBOutlet @MainActor public private(set) var primaryActionButton: FUIOnboardingButton! { get } -
subheadlineLabel Label - Setting subheadlineLabel.text displays the activation instructions on the screen otherwise, framework displays the default text.
Declaration
Swift
@IBOutlet @MainActor public private(set) var subheadlineLabel: UILabel! { get } -
secondaryActionButton - Setting secondaryActionButton.title displays the specific title otherwise, framework displays the default title ‘Next’.
Declaration
Swift
@IBOutlet @MainActor public private(set) var secondaryActionButton: FUIOnboardingButton! { get } -
emailTextfield - Entering the email address and clicking on the primaryActionButton initiates the onboarding process with the discovery service.
Declaration
Swift
@MainActor public var emailTextField: FUIAutoResizingTextField { get }
-
The
FUIWelcomeControllerDelegateimplementation.Declaration
Swift
@MainActor public weak var delegate: FUIWelcomeControllerDelegate? -
Illustration message. The application has the capability to configure the
FUIIllustratedMessageby specifying thetitle,body, anddetailImageView. These attributes are used to display the branding image, title, and description of the application respectively. When utilizing theillustratedMessagefeature and settingshowsIllustratedMessagetotrue, theheadlineLabelanddetailLabelwill automatically be hidden.Declaration
Swift
@MainActor public private(set) lazy var illustratedMessage: FUIIllustratedMessage { get set } -
A boolean flag,
showsIllustratedMessage, determines whether the illustration message is displayed.When
showsIllustratedMessageis set totrue, theillustratedMessagewill be shown, and theheadlineLabelanddetailLabelwill be hidden. Conversely, whenshowsIllustratedMessageis set tofalse, theheadlineLabelanddetailLabelwill be displayed, and theillustratedMessagewill be hidden.The default setting for
showsIllustratedMessageisfalse.Declaration
Swift
@MainActor public var showsIllustratedMessage: Bool { get set } -
Undocumented
Declaration
Swift
@MainActor public func scrollViewDidScroll(_ scrollView: UIScrollView)