What you didn’t know about URLSessionConfiguration’s waitsForConnectivity

Emre Havan
Level Up Coding
Published in
6 min readNov 17, 2023

--

Photo by Denny Müller on Unsplash

We all need to make network requests in our iOS projects at some point, and if we can just set a boolean to true for seamlessly handling moments of connectivity loss — such as when users are distant from their router or transitioning between WiFi and Cellular networks, it would be great!

--

--

Senior iOS Software Engineer — Interested in Compilers, ML and recommender systems — https://github.com/emrepun