UIHeaderConfiguration

public struct UIHeaderConfiguration

UI Configuration for the Glad App header

  • The customizable header background color. Default color is green.

    Declaration

    Swift

    public var backgroundColor: UIColor
  • The customizable dismiss button text color. Default color is blue.

    Declaration

    Swift

    public var dismissTextColor: UIColor
  • The customizable dismiss button text. Default text is “Close”.

    Declaration

    Swift

    public var dismissText: String
  • The customizable dismiss button image. Default is none. If an image is specified, it will override dismissText.

    Declaration

    Swift

    public var dismissImage: UIImage?
  • The customizable header title text. Default text is “Let’s Chat”.

    Declaration

    Swift

    public var text: String
  • The customizable header title text color. Default color is black.

    Declaration

    Swift

    public var textColor: UIColor
  • The style of the status bar. Default style is dark. If using a darker header background color, set statusBarStyle to be UIStatusBarStyle.lightContent

    Declaration

    Swift

    public var statusBarStyle: UIStatusBarStyle