iPhone Simulator - Simulate a slow connection?

前端 未结 6 442
离开以前
离开以前 2021-01-29 18:26

Is there a way to slow down the internet connection to the iPhone Simulator, so as to mimic how the App might react when you are in a slow spot on the cellular network?

6条回答
  •  礼貌的吻别
    2021-01-29 19:02

    I would argue that a slow connection isn't enough to simulate real-work mobile data network behaviour - since there is also much more packet loss, higher latencies and more dropped connections too.

    Here is a handy script to configure the firewall to emulate these parameters:

    http://pmilosev-notes.blogspot.com/2011/02/ios-simulator-testing-over-different.html

提交回复
热议问题