Simulating network latency or even poor network conditions in iOS is very easy. You don’t need to set up a proxy, router, or a poor network provider. All you have to do is enable Developer mode using Xcode. Then, you can see the Developer icon, which allows you to easily simulate various network scenarios.
Under Developer, you can see the Network Link Conditioner. By default it is Off. Tap on the Network Link Conditioner,
There are several profiles for you to use. You can utilize the ping time (round-trip) from your mobile phone to your target backend, and then subtract the ping time from your lab’s backend. To create a new profile, simply tap on Add a profile…
Let’s say the ping time is 900ms, you can set either Out Delay, In Delay or both.
Done!