what new in uikit?

Asked on 06/16/2025

1 search

In the "What's new in UIKit" session at WWDC 2024, several enhancements and new features were introduced for iOS 18. Here are some of the key updates:

  1. Document Launch Experience: There's a redesigned launch experience for document-based apps, allowing for more control over launch views and support for template document creation. This helps in guiding users to create their first document while maintaining a great browsing experience.

  2. Tabs and Sidebar Updates: Major updates to tabs and sidebars have been introduced, including a new syntax in SwiftUI for tab views to catch common errors at build time. UIKit has new APIs to better describe app hierarchies to UITabBarController.

  3. Fluid Transitions: New fluid transitions have been added across the system, enhancing the user interface's responsiveness and continuity.

  4. SwiftUI and UIKit Interoperability: iOS 18 enhances the interoperability between SwiftUI and UIKit, making it easier to use them interchangeably in apps. This includes using SwiftUI animation types to animate UIKit views.

  5. Automatic Trait Tracking: UIKit now supports automatic trait tracking, which simplifies handling changes in traits by automatically performing associated invalidations.

  6. UIUpdateLink: A new feature in iOS 18, UIUpdateLink, makes it easier to implement complex animations that require periodic UI updates, similar to CA DisplayLink but with more features.

  7. Apple Pencil Pro Support: New features for integrating drawing experiences with Apple Pencil Pro, including a squeeze gesture for quick tool switching and an undo slider.

For more detailed information, you can watch the session What’s new in UIKit (00:00:07).