STPThreeDSNavigationBarCustomization

public class STPThreeDSNavigationBarCustomization : NSObject

A customization object to use to configure a UINavigationBar.

  • The default settings.

    Declaration

    Swift

    @objc
    public class func defaultSettings() -> STPThreeDSNavigationBarCustomization
  • The tint color of the navigation bar background. Defaults to nil.

    Declaration

    Swift

    @objc
    public var barTintColor: UIColor? { get set }
  • The navigation bar style. Defaults to UIBarStyleDefault. @note This property controls the UIStatusBarStyle. Set this to UIBarStyleBlack to change the statusBarStyle to UIStatusBarStyleLightContent - even if you also set barTintColor to change the actual color of the navigation bar.

    Declaration

    Swift

    @objc
    public var barStyle: UIBarStyle { get set }
  • A Boolean value indicating whether the navigation bar is translucent or not. Defaults to YES.

    Declaration

    Swift

    @objc
    public var translucent: Bool { get set }
  • The text to display in the title of the navigation bar. Defaults to “Secure checkout”.

    Declaration

    Swift

    @objc
    public var headerText: String { get set }
  • The text to display for the button in the navigation bar. Defaults to “Cancel”.

    Declaration

    Swift

    @objc
    public var buttonText: String { get set }
  • The font to use for the title. Defaults to nil.

    Declaration

    Swift

    @objc
    public var font: UIFont? { get set }
  • The color to use for the title. Defaults to nil.

    Declaration

    Swift

    @objc
    public var textColor: UIColor? { get set }