DefaultEntrySelectionCustomization
@objc(Checkout3DSDefaultEntrySelectionCustomization)
public final class DefaultEntrySelectionCustomization : NSObject, EntrySelectionCustomization
A EntrySelectionCustomization object with default fonts and colors.
- Tag: DefaultEntrySelectionCustomization
-
The border width color to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let borderWidth: CGFloat -
The shadow color to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let borderColor: CGColor -
The corner radius to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let cornerRadius: CGFloat -
The corner curve to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let cornerCurve: CALayerCornerCurve? -
The font to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let font: UIFont -
The text color to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let textColor: UIColor -
The border color to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let borderStyle: UITextField.BorderStyle -
The background color to be set for DefaultEntrySelectionCustomization object.
Declaration
Swift
@objc public let backgroundColor: UIColor -
The color of the selection element when it is not selected. For example, the radio buttons for the ‘Single Select’ challenge flow.
Declaration
Swift
@objc public let unselectedColor: UIColor -
The color of the selection element. For example, the radio buttons for the ‘Single Select’ challenge flow.
Declaration
Swift
@objc public let selectedColor: UIColor -
init(borderWidth:borderColor: cornerRadius: cornerCurve: font: textColor: borderStyle: backgroundColor: unselectedColor: selectedColor: ) Initializes a DefaultEntrySelectionCustomization object which is available for iOS 13.0 and later.
Declaration
Swift
@available(iOS 13, *) @objc public init(borderWidth: CGFloat = 1, borderColor: CGColor = UIColor.systemGray.cgColor, cornerRadius: CGFloat = 5, cornerCurve: CALayerCornerCurve = .continuous, font: UIFont = .preferredFont(forTextStyle: .body), textColor: UIColor = .label, borderStyle: UITextField.BorderStyle = .roundedRect, backgroundColor: UIColor = .white, unselectedColor: UIColor = .systemGray, selectedColor: UIColor = .systemBlue) -
init(borderWidth:borderColor: cornerRadius: font: textColor: borderStyle: backgroundColor: unselectedColor: selectedColor: ) Initializes a DefaultEntrySelectionCustomization object supporting from iOS 11 and obsoleted for iOS 13.
Declaration
Swift
@available(iOS, introduced: 11, obsoleted: 13) @objc public init(borderWidth: CGFloat = 1, borderColor: CGColor = UIColor.systemGray.cgColor, cornerRadius: CGFloat = 5, font: UIFont = .preferredFont(forTextStyle: .body), textColor: UIColor = DefaultSystemColor.label, borderStyle: UITextField.BorderStyle = .roundedRect, backgroundColor: UIColor = .white, unselectedColor: UIColor = .systemGray, selectedColor: UIColor = .systemBlue)
DefaultEntrySelectionCustomization Class Reference