How to open settings page in the ios simulator and go to my app setting and change the environment using Appium
I am not able to find any documentation how to do this in webdriverio and appium
You can open preferences using Appium activateApp
method:
driver.activateApp("com.apple.Preferences");
Then just like with any other screen, search for locators and interact with them using standard methods.