Code Snippet: URLSession.data(for: request) for iOS14
While itβs possible to use async/await methods in Swift when targeting older versions of iOS, Foundation does not offer a back-port of newer async method signatures introduced in iOS 15 and iOS 16.