SignInUIOptions
@objc
public class SignInUIOptions : NSObject
The options object for drop-in UI which allows changing properties like logo image and background color.
-
If true, the end user can cancel the sign-in operation and go back to previous view controller.
Declaration
Swift
@objc public let canCancel: Bool -
The logo image to be displayed on the sign-in screen.
Declaration
Swift
@objc public let logoImage: UIImage? -
The background color of the sign-in screen.
Declaration
Swift
@objc public let backgroundColor: UIColor? -
The secondary background color. It’s applied to the bottom panel of the sign-in screen.
Declaration
Swift
@objc public let secondaryBackgroundColor: UIColor? -
The view primary color used for highlighted elements (button background, links).
Declaration
Swift
@objc public let primaryColor: UIColor? -
If set to true the sign up button is hidden from the UI.
Declaration
Swift
@objc public let disableSignUpButton: Bool -
init(canCancel:logoImage: backgroundColor: secondaryBackgroundColor: primaryColor: disableSignUpButton: ) Initializer for the drop-in UI configuration.
Declaration
Swift
@objc public init(canCancel: Bool = false, logoImage: UIImage? = nil, backgroundColor: UIColor? = nil, secondaryBackgroundColor: UIColor? = nil, primaryColor: UIColor? = .systemBlue, disableSignUpButton: Bool = false) -
Undocumented
Declaration
Swift
public override convenience init()
View on GitHub
Install in Dash
SignInUIOptions Class Reference