tab bar都更新了什么
Asked on 06/16/2025
1 search
在WWDC中,Apple对Tab Bar进行了多项更新:
-
视觉更新:Tab Bar在iPadOS 18中获得了新的紧凑外观,减少了垂直和水平空间的浪费,使应用内容更加突出。现有的侧边栏应用可以采用新的UI Tab Bar Controller API,以获得结合了Tab和侧边栏的体验。What’s new in UIKit
-
浮动设计:在iOS 18中,Tab Bar被重新设计为浮动在网页上方,并动态缩小以将内容置于中心位置。Keynote
-
自定义功能:新的Tab Bar和侧边栏包括自定义功能,允许用户通过拖放来个性化他们的体验。Elevate your tab and sidebar experience in iPadOS
-
新API支持:在iOS 18中,SwiftUI的TabView引入了新的语法,使得在构建时更容易捕捉常见错误,并确保所有Tab具有相同的选择类型。Elevate your tab and sidebar experience in iPadOS
这些更新旨在提升用户体验,使Tab Bar更具功能性和个性化。

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.

Keynote
Don’t miss the exciting reveal of the latest Apple software and technologies.

Elevate your tab and sidebar experience in iPadOS
iPadOS 18 introduces a new navigation system that gives people the flexibility to choose between using a tab bar or sidebar. The newly redesigned tab bar provides more space for content and other functionality. Learn how to use SwiftUI and UIKit to enable customization features – like adding, removing and reordering tabs – to enable a more personal touch in your app.