XCode - Need Some Code to Help With Internet Connectivity with API Requests
$10-30 USD
Paid on delivery
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:
[login to view URL]
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!
Project ID: #37551347
About the project
15 freelancers are bidding on average $20 for this job
Hello! This is an interesting problem and I'd love to help. I believe I can help you out with a way to switch between cellular and wifi based on a timeout value and network switching. I have a demonstration of this wr More
Hello there! I understand that you need some code to help with your Internet connectivity with API requests, and that when there's a bad Wi-Fi signal the pages just load and load and spin. Then when you toggle the phon More
Hello Dear, I hope this proposal finds you well. I am excited about the opportunity to work on your project and address the requirements for internet connectivity and API requests. Project Overview: I understand tha More
Hello. As a senior iOS developer, I can help you very quickly. We can implement it using NWPathMonitor. I can start immediately and complete it today. Best Regards, Evandro.
Hi, I’m interested in the project. I’m experienced with Swift having over 5+ years of experience so I can help you figure out the best solution for the issue you are facing with Connectivity, let’s discuss in more det More
hi, this is the easiest thing ever found on this site. Connect with me to discuss and close the project asap
Dear Sir,❤️Warm Greetings❤️ I hope this message finds you well. I appreciate your inquiry regarding optimizing API Requests in your Swift/Xcode app, particularly in situations with varying network conditions. I have th More
Here are the steps to switch between WiFi and cellular data based on connection speed in Swift for an iOS app: 1. Monitor Network Changes: Use NWPathMonitor to detect changes in the network connection. 2. Estimate Net More