What is new in UIKit
Generated on 7/30/2024
5 searches

This post is brought to you by Tailscan,
the best devtool for Tailwind CSS.
In the "What’s new in UIKit" session at WWDC 2024, several enhancements and new features were introduced for iOS 18. Here are the key updates:
-
Document Launch Experience:
- Redesigned launch experience for document-based apps, allowing full control over launch views and design.
- First-class support for template document creation to guide users in creating their first document.
-
Tabs and Sidebar Updates:
- Major updates to tabs and sidebar, including new API to better describe app hierarchy to
UITabBarController
. - New syntax in SwiftUI for
TabView
to catch common errors at build time and ensure consistent selection types.
- Major updates to tabs and sidebar, including new API to better describe app hierarchy to
-
Fluid Transitions:
- Support for new fluid transitions across the system, enhancing the sense of continuity in apps.
-
SwiftUI and UIKit Interoperability:
- Enhanced interoperability between SwiftUI and UIKit, making it easier to use them interchangeably.
- Ability to use SwiftUI animation types to animate UIKit views, including custom animations.
- New
UIJsRecognizerRepresentable
protocol to add existing UIKit gesture recognizers directly to SwiftUI hierarchies.
-
General Enhancements:
- Automatic trait tracking to propagate data to view controllers and views in the app's hierarchy.
- New constructors for
UIBackgroundConfiguration
to automatically update appearance from the list environment trait. - Introduction of
UIUpdateLink
for implementing complex animations requiring periodic UI updates, with features like automatic view tracking and low latency mode for drawing applications. - Expanded SF Symbols with new symbol animations and three new animation presets.
For more detailed information, you can watch the session What’s new in UIKit.

Platforms State of the Union
Discover the newest advancements on Apple platforms.

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.

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.

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.