The easiest way to perform network latency test on an App in iPhone

Simulating network latency or even poor network conditions in iOS is very easy. You don’t need to set up a proxy, router nor a poor network provider. All you have to do is enabling 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 profile for you to use. You can utilize the ping time (round-trip) from you mobile phone to your target backend, and then subtracting 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!

Share