UIKit deprecation

Asked on 07/30/2024

1 search

UIKit Deprecation

There is no specific mention of UIKit deprecation in the provided context. However, there are several updates and new features introduced in UIKit for iOS 18. Here are some highlights:

  1. Automatic Trait Tracking: UIKit now supports automatic trait tracking inside common view and view controller update methods, making it easier to handle changes in traits. What’s new in UIKit

  2. UI Update Link: A new feature in iOS 18 that simplifies implementing complex animations requiring periodic UI updates. What’s new in UIKit

  3. Enhanced Interoperability with SwiftUI: UIKit gesture recognizers can now be added directly to SwiftUI hierarchies using the new UIJs recognizer representable protocol. What’s new in UIKit

  4. Tab Bar and Sidebar Updates: New APIs to better describe app hierarchy to UITabBarController and improvements in tab bar and sidebar appearance. Elevate your tab and sidebar experience in iPadOS

  5. StoreKit API Deprecation: The original API for in-app purchases is deprecated starting with iOS 18. It is recommended to update to StoreKit 2 for better features and improvements. What’s new in StoreKit and In-App Purchase

For more detailed information, you can refer to the session What’s new in UIKit.

UIKit deprecation | Ask WWDC