new uikit features
Generated on 8/5/2024
1 search
New Features in UIKit
At WWDC 2024, Apple introduced several new features and enhancements for UIKit in 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.
- Improved browsing experience.
-
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. - Tab bars prefer filled glyphs, and sidebars prefer outline glyphs.
-
Fluid Transitions:
- Support for new fluid transitions across the system to enhance user experience.
-
List Improvements:
- Automatic appearance updates from the list environment trait.
- New header and footer configurations.
- Three new constructors for
UIBackgroundConfiguration
: list cell, list header, and list footer.
-
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.
- Better performance and battery efficiency.
-
SF Symbols Animations:
- Expanded with new symbol animations.
- Three new animation presets.
-
Apple Pencil Pro Integration:
- Support for new features of Apple Pencil Pro, including the squeeze gesture for tool switching.
- Updates to feedback generators.
UITouch
andUIHoverGestureRecognizer
provide barrel roll angle.- Squeeze gesture presents an undo slider for apps with undo support.
For more detailed information, you can watch the session What’s new in UIKit.
Relevant Sessions
Feel free to explore these sessions for a deeper dive into the new features and improvements 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.
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.
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.