what's new on UI?
Generated on 8/1/2024
1 search
What's New in UI at WWDC 2024
UIKit Enhancements
- Document Launch Experience: Redesigned for document-based apps, allowing full control over launch views and template document creation. This helps in guiding users to create their first document while maintaining a great browsing experience.
- Tabs and Sidebar Updates: Major updates to tabs and sidebars, including a new API to better describe app hierarchy to
UITabBarController
. Changes made to theUITab
instance are reflected immediately where the tab is displayed. - Fluid Transitions: Support for new fluid transitions across the system.
- UIUpdateLink: A new feature in iOS 18 that simplifies implementing complex animations requiring periodic UI updates. It offers automatic view tracking and low latency mode for drawing applications.
- Apple Pencil Pro Integration: New features for integrating drawing experiences with Apple Pencil Pro, including the squeeze gesture for tool switching and updates to feedback generators.
- SF Symbols: Expanded with new symbol animations and three new animation presets.
For more details, you can watch the session What’s new in UIKit.
SwiftUI Enhancements
- TabView: New syntax in SwiftUI to make it easier to catch common errors at build time. You can now declare a tab struct with a title, image, and content view.
- Custom Animations: Ability to set up animations on UIKit or AppKit views and drive them with SwiftUI, including fully custom animations.
- Graphics Capabilities: New mix modifier on color to blend colors and extended custom shader features.
- Scroll View Control: Fine-grained control over scroll views with new APIs like
onScrollGeometryChange
. - Mesh Gradients: Beautiful mesh gradients to freshen up your apps.
- Improved Interoperability: Gesture recognition and animations have been factored out to enable better integration between SwiftUI and UIKit.
For more details, you can watch the session What’s new in SwiftUI.
Platforms State of the Union
- SwiftUI and UIKit Integration: Enhanced interoperability between SwiftUI and UIKit, including gesture recognition and animation setup.
- Custom Containers and Scrolling Enhancements: New features in SwiftUI for custom containers and scrolling customizations.
For more details, you can watch the session Platforms State of the Union.
Tab and Sidebar Experience in iPadOS
- Updated Look: The tab bar now shares a safe area with the navigation bar for a more integrated appearance.
- New Syntax in SwiftUI: Easier to catch common errors at build time with the new tab struct.
- User Customization: Enhanced customization options for tabs and sidebars in both SwiftUI and UIKit.
For more details, you can watch the session Elevate your tab and sidebar experience in iPadOS.
Sessions Mentioned
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.
Platforms State of the Union
Discover the newest advancements on Apple platforms.
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.