Xcode logo Xcode

Debugging with network conditions using Xcode

When developing apps, you are probably in an environment with stable and fast network connection, this is great while debugging. But how do we know the app will work in a less stable environment? Like when you are on the move switching from WiFi to a mobile network, or opening the app in the train while entering a tunnel? Does your app handle these use-cases correctly?