NavigationBarConfiguration

@available(iOS 13.0, *)
public struct NavigationBarConfiguration

导航栏配置,兼容AnyView和UIKit对象

  • Undocumented

    Declaration

    Swift

    public var leading: Any?
  • Undocumented

    Declaration

    Swift

    public var title: Any?
  • Undocumented

    Declaration

    Swift

    public var trailing: Any?
  • Undocumented

    Declaration

    Swift

    public var background: Any?
  • Undocumented

    Declaration

    Swift

    public var style: NavigationBarStyle?
  • Undocumented

    Declaration

    Swift

    public var appearance: (() -> NavigationBarAppearance)?
  • Undocumented

    Declaration

    Swift

    public var customize: ((UIViewController) -> Void)?
  • Undocumented

    Declaration

    Swift

    public init(
        leading: Any? = nil,
        title: Any? = nil,
        trailing: Any? = nil,
        background: Any? = nil,
        style: NavigationBarStyle? = nil,
        appearance: (() -> NavigationBarAppearance)? = nil,
        customize: ((UIViewController) -> Void)? = nil
    )
  • Undocumented

    Declaration

    Swift

    public func configure(
        viewController: UIViewController
    )