tinting the icon of a liquid glass toolbar item with uikit

Asked on 2025-09-25

1 search

To tint the icon of a liquid glass toolbar item in a UIKit app, you can use the new design features introduced in iOS 26. Specifically, you can set the tint color for toolbar items to emphasize primary elements and actions. Here's a brief overview of how you can achieve this:

  1. Set the Tint Color: You can update the toolbar item to use a specific system color as the tint color. This will color only the symbol, not the button background.

  2. Use Prominent Style: Set the style of the toolbar item to "prominent" to ensure that the tinting is applied effectively. This style is designed to emphasize important actions.

  3. Flexible Spaces: If you are using flexible spaces to distribute items in your toolbar, ensure that they are set up correctly to maintain the visual integrity of the liquid glass effect.

For more detailed guidance, you can refer to the session Build a UIKit app with the new design (08:54) where these concepts are discussed in the context of updating a UIKit app with the new design system.