Right, sorry. I created this extension: extension URLSession { static var `default`: URLSession { if #available(iOS 18.4, *) { let config = URLSessionConfiguration.default config.usesClassicLoadingMode = false return URLSession(configuration: config) } else { return URLSession.shared } } } And I replaced all URLSession.shared with URLSession.default. Will deploy it to production and get back to you in a few weeks to see if it helped on newer systems. Please correct me if I did something wrong.
Topic:
Programming Languages
SubTopic:
Swift
Tags: