navigationsplitview
Asked on 08/05/2024
2 searches
NavigationSplitView is a key component in SwiftUI for creating complex navigation structures, such as sidebars and tab bars, across different Apple platforms. Here are some relevant details from the WWDC 2024 sessions:
-
Migrate your TVML app to SwiftUI:
- The floating sidebar from the TV app is now available system-wide in tvOS 18 through SwiftUI. You can build it using the existing NavigationSplitView APIs. This allows for a sidebar with a translucent appearance and compact indicator, which can be adopted with minimal code changes. (Migrate your TVML app to SwiftUI)
-
What’s new in SwiftUI:
- The sidebar in iOS 18 has become more flexible, allowing for easy switching between a tab bar and a sidebar representation. This is particularly useful for apps with a lot of content, as it supports customization behaviors like reordering and removing tabs. (What’s new in SwiftUI)
- The refreshed sidebar looks great on tvOS and can be styled to appear as a sidebar or segmented control in the toolbar. (What’s new in SwiftUI)
-
Elevate your tab and sidebar experience in iPadOS:
- New in iPadOS 18, tab bars can now optionally be displayed as a sidebar with several enhancements. When the sidebar is hidden, it animates back into the tab bar, bringing focus back to the content. This is great for content-rich apps with rich hierarchies. (Elevate your tab and sidebar experience in iPadOS)
-
Platforms State of the Union:
- The redesigned tab bar in iOS 18 floats at the top of your app and can turn into a sidebar for deeper navigation. This is useful for apps with both simple and deep hierarchies, allowing for a seamless transition between tab bar and sidebar. (Platforms State of the Union)
-
What’s new in UIKit:
- The new UI Tab and UI Tab group APIs enable apps to describe their structure to build a tab bar and sidebar, adapting for a native experience on both Mac Catalyst and visionOS. (What’s new in UIKit)
For more detailed information, you can refer to the specific sessions mentioned above.

What’s new in SwiftUI
Learn how you can use SwiftUI to build great apps for any Apple platform. Explore a fresh new look and feel for tabs and documents on iPadOS. Improve your window management with new windowing APIs, and gain more control over immersive spaces and volumes in your visionOS apps. We’ll also take you through other exciting refinements that help you make expressive charts, customize and layout text, and so much 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.

What’s new in AppKit
Discover the latest advances in Mac app development. Get an overview of the new features in macOS Sequoia, and how to adopt them in your app. Explore new ways to integrate your existing code with SwiftUI. Learn about the improvements made to numerous AppKit controls, like toolbars, menus, text input, and more.