what's new in UIKit?
Generated on 7/31/2024
4 searches
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, 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 a 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 a 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 by keeping the same UI elements on screen during transitions.
-
SwiftUI and UIKit Interoperability:
- Enhanced interoperability between SwiftUI and UIKit, making it easier to use them interchangeably in apps.
- Ability to use SwiftUI animation types to animate UIKit views, including custom animations and gesture-driven animations.
-
Gesture Recognizers:
- New
UIJsRecognizerRepresentable
protocol to add existing UIKit gesture recognizers directly to SwiftUI hierarchies.
- New
-
Automatic Trait Tracking:
- Improved trait system that propagates data to view controllers and views, making it easier to handle changes.
-
List Improvements:
- New header and footer configurations that automatically update appearance from the list environment trait.
- New constructors for
UIBackgroundConfiguration
to simplify code.
-
UIUpdateLink:
- New
UIUpdateLink
in iOS 18, similar toCADisplayLink
, but with more features like automatic view tracking and low latency mode for drawing applications.
- New
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.
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.
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.