Change the seetings on iOS device

I started working on appium recently. I was wondering if I can change the network settings on iOS device using appium without interacting with the physical device directly. If so, what is the process to do that?

Note: I need not do it while running the app. I found that it is not possible to switch while running.