Using Background Image in Navigation Bar in ios in XCode
You can still use the setBackgroundImage: method to assign a custom image for the navigation bar. Here is the line of code for setting the ...
https://www.czetsuyatech.com/2014/07/xcode-using-background-image-on-navigation-bar.html
You can still use the setBackgroundImage: method to assign a custom image for the navigation bar. Here is the line of code for setting the background image. Insert it inside AppDelegate didFinishLaunchingWithoptions... method:
UINavigationBar.appearance().setBackgroundImage(UIImage(named: "nav_bg.png"), forBarMetrics: UIBarMetrics.Default)
Post a Comment