XCode - Need Some Code to Help With Internet Connectivity with API Requests
Budget: $10 – $30 USD
Hi there. I have a some API Requests in a particular app (Swift / XCode) and oddly when there's a bad wifi signal the pages just load and load and spin. THEN, when I toggle the phone's wifi off, so it's just cellular - the page instantly loads and fast.
Is there some code block I can put around my API Requests that tell it to use cellular or NOT to use wifi IF the result is not returning quick enough?
I was reading articles like this:
https://www.vadimbulavin.com/network-connectivity-on-ios-with-swift/
But I just don't have time to try a bunch of different stuff and I'm not that great with Swift like that. I'm good enough to paste some code in if you show me what to add - and potentially wrap it around my different API Requests.
Thanks!
Is there some code block I can put around my API Requests that tell it to use cellular or NOT to use wifi IF the result is not returning quick enough?
I was reading articles like this:
https://www.vadimbulavin.com/network-connectivity-on-ios-with-swift/
But I just don't have time to try a bunch of different stuff and I'm not that great with Swift like that. I'm good enough to paste some code in if you show me what to add - and potentially wrap it around my different API Requests.
Thanks!