API deprecations in iOS 18

Asked on 08/07/2024

1 search

In iOS 18, several API deprecations have been announced:

  1. StoreKit API: The original API for in-app purchases is deprecated, including the unified receipt. Existing apps will continue to work, but the legacy API won't receive any enhancements or new features in future operating system releases. Developers are strongly recommended to update their apps to use StoreKit 2, which offers many improvements such as customer transaction history, subscription renewal info, and modern language features like Swift's async/await pattern. For more details, you can refer to the session What’s new in StoreKit and In-App Purchase (21:06).

  2. UIKit: While not explicitly mentioned as deprecated, there are significant updates and new features in UIKit that developers are encouraged to adopt. This includes improvements to transitions and animations, tab bars, and the new document launch experience. For more details, you can refer to the session What’s new in UIKit (20:43).

For a comprehensive understanding of all the changes and deprecations, it is recommended to review the developer documentation and the relevant WWDC sessions.