MultiUser Passcode Controller¶
FUIMultiUserPasscodeController
¶
open class FUIMultiUserPasscodeController: FUIPasscodeController, FUIBlurNavigationBarViewController
This passcode controller is for login to an app that supports multiple users.
The following properties needs to be set Before the navigation controller presents this FUIMultiUserPasscodeController
:
logoImageView.image
logoImageViewSize
titleLabel.text
dataSource
delegate
A typical usage is as the sample code below:
let passcodeController = FUIMultiUserPasscodeController()
passcodeController.logoImageView.image = UIImage(named: "CompanyLogo", in: bundle, with: nil)
passcodeController.logoImageView.contentMode = .scaleAspectFit
passcodeController.logoImageViewSize = CGSize(width: 54, height: 27)
passcodeController.titleLabel.text = "Company App"
passcodeController.dataSource = self
passcodeController.delegate = self
let navigationController = FUINavigationController(rootViewController: passcodeController)
navigationController.modalPresentationStyle = .fullScreen
navigationController.modalTransitionStyle = .coverVertical
self.present(navigationController, animated: true, completion: nil)
Theming¶
Supported fixed font UILabel
class paths:
1 2 3 4 5 |
|
Supported fixed font UILabel
properties:
1 2 3 |
|
Supported UITextField
class paths:
1 |
|
Supported UITextField
properties:
1 2 3 4 |
|
Supported UIButton
class paths:
1 2 |
|
Supported UIButton
properties:
1 2 3 4 |
|
Supported text input field ClearButton
class paths:
1 |
|
Supported text input field ClearButton
properties:
1 2 |
|
Supported UIBarButtonItem
class paths:
1 |
|
Supported UIBarButtonItem
properties:
1 2 |
|
Supported ImagePlaceholder
class paths:
1 2 |
|
Supported ImagePlaceholder
properties:
1 2 3 |
|
Supported ImagePlaceholderView
class paths:
1 2 |
|
Supported ImagePlaceholderView
properties:
1 |
|
Supported dynamic font UILabel
class paths:
1 2 |
|
Supported dynamic font UILabel
properties:
1 2 |
|