Slow down internet for iOS simulator

前端 未结 3 1521
野性不改
野性不改 2020-12-14 15:59

I have a random crash in my iOS app. This happens when on slow internet connection. My office internet speed is too fast.

For testing on simulator, I installed Netwo

3条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-14 16:11

    You can set the network to slow characteristic by testing on devices. Go to Settings -> Developer Settings -> Network Link Conditioner -> Enable. This is for iPhone/iPad running iOS 6 Network Link Conditioner is also available for the Mac in "Additional Tools for Xcode" for testing in the Simulator.

    Note: It appears after device has been connected to Xcode, enabled for development and some app run on it.

    Here's how you can test HORRIBLE network performance: enter image description here

提交回复
热议问题