Is there a way to simulate different network conditions on an iOS device programmatically?
iOS provides us with the Network Link Conditioner, but I couldn't find a way to access it programmatically.
If there is no way to manipulate network quality directly, is there a way to simulate it indirectly?
Packet Loss:
- Could one simulate packet loss by corrupting the data returned by a HTTP request? But would that really simulate packet loss? Wouldn't the request just not return and timeout under heavy packet loss?
Bad Latency:
- To simulate bad latency, could one just delay HTTP request processing on the client side by a random amount?
Update:
- [13-11-15 at 2:15pm] Simulate network conditions with a C/C++ Socket is a similar question. I'll investigate into it and see how this could be applied in an iOS context.