i use the ios26 toolbar button, but when i press it the image become white and so invisible to the user. Is there any api to make the image visible ?
Asked on 06/20/2025
1 search
In iOS 26, the new design system introduces a glass appearance for toolbars and navigation bars, which can sometimes cause issues with visibility, such as images appearing white or invisible. To address this, you can use the new APIs to customize the appearance of toolbar buttons and ensure they remain visible.
-
Glass Appearance: By default, bar buttons use a glass background. If your image is becoming invisible, it might be due to the glass effect. You can customize the appearance using the
ui.ButtonConfiguration
to apply a tint color or use the prominent style to ensure visibility. This is discussed in the session Build a UIKit app with the new design. -
Tint Modifiers: You can apply tint modifiers to toolbar items to ensure they are visible against the glass background. This is particularly useful for key actions where visibility is crucial. The session Platforms State of the Union mentions using tint modifiers for toolbar items.
-
Prominent Style: For toolbar items that need to stand out, you can use the prominent style, which tints the glass using your app's accent color. This is perfect for displaying state or emphasizing important actions. This is covered in the session Build an AppKit app with the new design.
By utilizing these APIs, you can ensure that your toolbar buttons remain visible and provide a better user experience. If you need more specific guidance, you might want to explore the sessions mentioned above for detailed examples and code snippets.

Build a UIKit app with the new design
Update your UIKit app to take full advantage of the new design system. We’ll dive into key changes to tab views, split views, bars, presentations, search, and controls, and show you how to use Liquid Glass in your custom UI. To get the most out of this video, we recommend first watching “Get to know the new design system” for general design guidance.

What’s new in UIKit
Modernize your app with the latest APIs in UIKit, including enhanced menu bar support, automatic observation tracking, a new UI update method, and improvements to animations. We’ll also cover how you can include SwiftUI scenes in your UIKit app and explore SF Symbols, HDR color pickers, and more.

Build a SwiftUI app with the new design
Explore the ways Liquid Glass transforms the look and feel of your app. Discover how this stunning new material enhances toolbars, controls, and app structures across platforms, providing delightful interactions and seamlessly integrating your app with the system. Learn how to adopt new APIs that can help you make the most of Liquid Glass.