I have an iPhone application using UINavigationController
and would like to customize the elements with custom background images. I was able to do this for the
A simple option is to subclass UINavigationBar/UIToolbar and initialize the navigation controller using the method:
- (instancetype)initWithNavigationBarClass:(Class)navigationBarClass toolbarClass:(Class)toolbarClass
However, for simple customizations (as background images, shadows, etc.) I would recommend to use the UIAppearance
protocol pattern.