I have a storyboard based app with a navigation controller as the initial view controller.
I would like to set the background for the navigation bar to an image using the setBackgroundImage:forBarMetrics: method, but I am unsure of where to call it.
I could subclass the UINavigationController and use the viewDidLoad method to call it, but subclassing UINavigationController is discouraged. I guess I should subclass UINavigationBar and override some initialisation method?
Thanks,
Steve