DefaultToolbarCustomization

@objc(Checkout3DSDefaultToolbarCustomization)
public final class DefaultToolbarCustomization : NSObject, ToolbarCustomization

A ToolbarCustomization object with default fonts and colors.

  • Tag: DefaultToolbarCustomization
  • The background color of the navigation bar for the challenge screen.

    Declaration

    Swift

    @objc
    public let backgroundColor: UIColor
  • The title for the navigation bar for the challenge screen.

    Declaration

    Swift

    @objc
    public let headerTitle: String?
  • The title for the dismissal button on the navigation bar for the challenge screen.

    Declaration

    Swift

    @objc
    public let buttonTitle: String?
  • The font of title in the navigation bar of the challenge screen

    Declaration

    Swift

    @objc
    public let font: UIFont
  • Declaration

    Swift

    @objc
    public let textColor: UIColor
  • Initializes a DefaultToolbarCustomization object.

    Declaration

    Swift

    @objc
    public init(backgroundColor: UIColor = UIColor(red: 251/255, green: 251/255, blue: 252/255, alpha: 1),
                headerTitle: String? = nil,
                buttonTitle: String? = nil,
                font: UIFont = .preferredFont(forTextStyle: .headline),
                textColor: UIColor = DefaultSystemColor.label)