A Bit of Color

As you look at the attributes of some items in IB, you sometimes see a Tint option. Using this option is a quick way to lend a colored theme to your user experience. Note that this is different from changing the Background color in the View area.

For UINavigationController, you can change the tint of the navigation bar, toolbar, and bar button items. Setting the tint of something that is managed by a navigation controller changes the color of that thing for every screen managed by that controller.

For instance, you are about to set the tint of the app’s navigation bar. This one change in tint changes the navigation bar color for the entire hierarchy. This is because the navigation controller manages the navigation bar. The scenes ...

Get Learning iOS Development: A Hands-on Guide to the Fundamentals of iOS Programming now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.