What's new in UIKit
Generated on 8/3/2024
2 searches
What's New in UIKit
At WWDC 2024, Apple introduced several enhancements and new features in UIKit for iOS 18. 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:
- Major updates to tabs and sidebar.
- 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.
- Enhanced 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:
- Easier to use traits and handle changes in iOS 18.
- Propagates data to view controllers and views in the app's hierarchy.
-
List Improvements:
- New header and footer configurations.
UIBackgroundConfiguration
constructors for list cell, list header, and list footer.- Automatic appearance updates from the list environment trait.
-
UIUpdateLink:
- Easier implementation of complex animations requiring periodic UI updates.
- Features like automatic view tracking and low latency mode for drawing applications.
-
SF Symbol Animations:
- New animations for SF Symbols.
-
Sensory Feedback:
- Enhancements to sensory feedback mechanisms.
-
Text Improvements:
- Various improvements to text handling and rendering.
-
Menu Actions:
- New capabilities for menu actions.
-
Apple Pencil Pro and PencilKit:
- Enhanced support for Apple Pencil Pro and updates to PencilKit.
For a detailed overview, you can watch the session What’s new in UIKit.
Relevant Sessions
Feel free to explore these sessions for more in-depth information on the updates and enhancements in UIKit.
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.
Platforms State of the Union
Discover the newest advancements on Apple platforms.