Need to change application settings first

Is there a Way with Appium to go to Settings/App_Name and change something for the application then return to the application and do the test ?

Thanks

In iOs / simulator