You tin nevertheless role the setBackgroundImage: method to assign a custom ikon for the navigation bar. Here is the business of code for setting the background image. Insert it within AppDelegate didFinishLaunchingWithoptions... method:
UINavigationBar.appearance().setBackgroundImage(UIImage(named: "nav_bg.png"), forBarMetrics: UIBarMetrics.Default)
0 komentar:
Please comment if there are any that need to be asked.