UIKit 相关的改变
Asked on 06/15/2025
1 search
在WWDC中,UIKit有许多新的变化和改进。以下是一些关键的更新:
-
新设计系统:引入了名为“Liquid Glass”的新材料,它是半透明的、动态的,并且在系统中充满了光泽和折射效果。UIKit的标准组件已经更新为使用这种新材料,提供了更现代的外观和感觉。What’s new in UIKit
-
文档启动体验:在iOS 18中,文档型应用的启动体验得到了重新设计,允许应用在启动时展示其独特的身份,并提供了对模板文档创建的支持。What’s new in UIKit
-
自动特征跟踪:在iOS 18中,UIKit支持在常见视图和视图控制器更新方法中自动特征跟踪,这简化了特征变化的处理。What’s new in UIKit
-
流体过渡:iOS 18引入了新的流体过渡效果,使得过渡动画更加连续和可交互。What’s new in UIKit
-
新的UI更新方法:引入了一个新的方法
updateProperties
,用于支持自动特征和观察跟踪,提供了更细粒度的更新控制。What’s new in UIKit -
场景生命周期:在iOS 26中,UIKit应用需要采用UI Scene生命周期,以提高应用的灵活性和可移植性。What’s new in UIKit
这些更新旨在提升UIKit应用的用户体验和开发效率。如果你想了解更多关于这些变化的细节,可以查看相关的WWDC视频。

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.

What’s new in UIKit
Explore everything new in UIKit, including tab and document launch experiences, transitions, and text and input changes. We’ll also discuss better-than-ever interoperability between UIKit and SwiftUI animations and gestures, as well as general improvements throughout UIKit.

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.