Xcode provides a tool called Network Link Conditioner that can simulate various network conditions, including reduced bandwidth, high latency, DNS delays, packet loss, and so on. Before you ship any software that uses networking, you should install this tool, enable it, then run your software to see how it performs under real-world conditions.
Here are a few things to test:
- Make sure your software remains usable even with lousy bandwidth. Tune your bandwidth consumption as much as you can.
- Increase the latency to three or four seconds. Make sure that any user-initiated operation is delayed by only a few seconds, not by a few minutes.
- When the network connection drops packets, your software should continue to function, just more slowly.
Enabling Network Link Conditioner on iOS device:
- Step 1: Open Settings -> Select Developer -> Select Status in group name (Network link conditioner):

