I have a detailview with a navigation bar with a back button and a name for the view.
The navigation bar is set programmatically.
The name presented is set like this.
self.title = NSLocalizedString(name, @"");
The name depends on the presented view.
Now I would like to also present a small icon on the navigation bar which also is depends on the view.
How do I do that?
You can set backGround image to navigationBar Using this
Put in
didFinishLaunchingWithOptionsOr you can set navigation bar image in any view using
Or you can set a view on your NavigationBar Link
or
And set title using h
And you can get navigationBarButton using this
And set simple imageView on navigation Bar