How to use: Subclass your UINavigationController with this class and change the implementation (.m) to set your background image.
Set a background image to a navigationbar on iOS 5