FUIActivationScreen
open class FUIActivationScreen : FUIWelcomeController, UITextFieldDelegate
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
Attention
The delegate object with type FUIWelcomeControllerDelegate
is declared as a weak reference. So 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
FUIActivationScreen
object from storyboard and intitialize subview compoennts.Declaration
Swift
public class func createInstanceFromStoryboard() -> FUIActivationScreen
Return Value
An FUIActivationScreen object.
-
headline Label. Setting `headlineLabel.text displays the activation text on the screen; otherwise, framework displays the default text.
Declaration
Swift
@IBOutlet public private(set) var headlineLabel: UILabel!
-
detail Label. Setting detailLabel.text displays the activation instructions on the screen otherwise, framework displays the default text.
Declaration
Swift
@IBOutlet public private(set) var detailLabel: UILabel!
-
primaryActionButton. Setting primaryActionButton.title displays the specific title otherwise, framework displays the default title ‘Next’.
Declaration
Swift
@IBOutlet public private(set) var primaryActionButton: FUIOnboardingButton!
-
subheadlineLabel Label. Setting subheadlineLabel.text displays the activation instructions on the screen otherwise, framework displays the default text.
Declaration
Swift
@IBOutlet public private(set) var subheadlineLabel: UILabel!
-
secondaryActionButton. Setting secondaryActionButton.title displays the specific title otherwise, framework displays the default title ‘Next’.
Declaration
Swift
@IBOutlet public private(set) var secondaryActionButton: FUIOnboardingButton!
-
email Textfield. Entering the email address and clicking on the primaryActionButton iniitates the onboarding process with the discovery service.
Declaration
Swift
public var emailTextField: FUIAutoResizingTextField { get }
-
The
FUIWelcomeControllerDelegate
implementation.Declaration
Swift
public weak var delegate: FUIWelcomeControllerDelegate?