class UINavigationBar : UIView, NSCoding, UIBarPositioning
UIAppearanceproxy API’s, to apply Fiori Design Language styling attributes to
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.
public func extendBackgroundColorToTop()