Did anything change in regards to custom traits in iOS 26?
Asked on 2025-07-03
1 search
In iOS 26, there is a new UI trait called HDRHeadroom Usage
that allows developers to monitor when HDR content should fall back to SDR. This is part of the expanded behavior in iOS 26 where UIImageView's intelligent fallback from HDR to SDR is extended to video and custom content. This change allows custom traits to participate in the HDR to SDR fallback process, enhancing the dynamic image experiences in apps. For more details, you can refer to the session What’s new in UIKit (19:41).

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.

What’s new in SwiftUI
Learn what’s new in SwiftUI to build great apps for any Apple platform. We’ll explore how to give your app a brand new look and feel with Liquid Glass. Discover how to boost performance with framework enhancements and new instruments, and integrate advanced capabilities like web content and rich text editing. We’ll also show you how SwiftUI is expanding to more places, including laying out views in three dimensions.