whats new in uikit
Generated on 8/8/2024
1 search
What's New in UIKit
In the WWDC 2024 session titled What’s new in UIKit, several enhancements and new features for UIKit in iOS 18 were introduced. Here are the key updates:
-
Document Launch Experience:
- Redesigned launch experience for document-based apps.
- Full control over launch views and design.
- First-class support for template document creation.
-
Tabs and Sidebar Updates:
- Major updates to tabs and sidebar for a more integrated appearance.
- New API to better describe app hierarchy to
UITabBarController
. - Changes made to
UITab
instances are reflected immediately.
-
Fluid Transitions:
- Support for new fluid transitions across the system.
- Enhancements to the interoperability of SwiftUI and UIKit, making it easier to use them interchangeably in apps.
-
SwiftUI Animations in UIKit:
- Use SwiftUI animation types to animate UIKit views.
- Build fluid gesture-driven animations using SwiftUI spring animations.
-
Coordinated Gesture Recognizers:
- Add existing UIKit gesture recognizers directly to SwiftUI hierarchies using the new
UIJsRecognizerRepresentable
protocol.
- Add existing UIKit gesture recognizers directly to SwiftUI hierarchies using the new
-
Automatic Trait Tracking:
- Automatic trait tracking inside common view and view controller update methods.
- Simplifies handling of trait changes and invalidations.
-
List Improvements:
- New header and footer configurations that update appearance automatically.
- New constructors for
UIBackgroundConfiguration
to simplify code.
-
UIUpdateLink:
- New in iOS 18, making it easier to implement complex animations requiring periodic UI updates.
- Features automatic view tracking and low latency mode for drawing applications.
-
SF Symbol Animations:
- Expanded with new symbol animations and three new animation presets.
For more detailed information, you can watch the session What’s new in UIKit.
Relevant Sessions
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.
Platforms State of the Union
Discover the newest advancements on Apple platforms.
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.