Slow down internet for iOS simulator

前端 未结 3 1513
野性不改
野性不改 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条回答
  • 2020-12-14 16:06

    Can't you use a ipad/iphone connected to your mac to reproduce the crash ?

    ios6 contains a network link conditioner, too: http://www.neglectedpotential.com/2012/09/ios6-network-link-conditioner/

    0 讨论(0)
  • 2020-12-14 16:07

    What about a development proxy server to simulate slow connections? One that looks promising is http://www.charlesproxy.com/

    0 讨论(0)
  • 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

    0 讨论(0)
提交回复
热议问题