I want to add a Custom UINavigationBar Background.
Is there anyway I can do this completely in code? _navigationBarClass
seems to be a private property on UINavigationController
.
Objective-C: How to change the class of an object at runtime?
I want to add a Custom UINavigationBar Background.
Is there anyway I can do this completely in code? _navigationBarClass
seems to be a private property on UINavigationController
.
Objective-C: How to change the class of an object at runtime?
While not programmatic it can be done via Storyboards by setting the Navigation Bar class. See https://stackoverflow.com/a/42989418/47281.