UINavigationBar

class UINavigationBar : UIView, NSCoding, UIBarPositioning
  • Invokes UIAppearance proxy API’s, to apply Fiori Design Language styling attributes to UINavigationBar.appearance()

    Declaration

    Swift

    public static func applyFioriStyle()
  • Extends the background color of the navigation bar to the top of iPhone X screen.

    This is needed for iPhone X only. When a view is presented with navigation bar but without status bar on devices other than iPhone X type of devices, the status bar is still showing on iPhone X devices at the top of the navigation bar. Invoking this function will add a view with the same background color on top of the navigation bar to cover the background of the status bar.

    This has no visual effect on other types of iOS devices, since the added view is outside of the displaying area.

    Declaration

    Swift

    public func extendBackgroundColorToTop()