iOS tests simulate various network state

Apple preset network debugging tools in iOS, but only add the tested equipment, and use the device to activate the connection under Xcode

Before 1.Xcode not connected

iOS tests simulate various network state _1

2.Xcode connection found setting up a multi-: Developer

iOS tests simulate various network state _2

3. Select Status

iOS tests simulate various network state _3

4. Select the desired simulated network state

Here Insert Picture Description

• Precautions: Developer options is also available globally, if an item is turned on network status, valid for the entire system. So after you finish testing app should be promptly closed.

The various networks Interpretation

• 100% Loss: whole packet loss
• 3G: 3G networks
• DSL: telephone line
• Edge: a transition from GSM to 3G technology, and can be seen as 2.5G networks.
• High Latency DNS: high latency networks
• LTE: LTE is a transition between 3G and 4G technology, is the world standard of 3.9G
• Very Bad Network: network situation unstable network
• Wi-Fi: Wi-Fi mode under 4th generation standard 802.11n
• Wi-Fi 802.11ac: fifth-generation standard in Wi-Fi mode

Guess you like

Origin blog.csdn.net/shengpeng3344/article/details/83273268