How to terminate app in ios?

I try use in driver.terminateapp and driver.quit driver.closeapp but i not success to kill the app .

I don’t want to do a full reset because I want my data to be saved.
what can I do?


Appium 2.0

((InteractsWithApps) driver).terminateApp(appID);

where appID is APP_PACKAGE (Android) or BUNDLE_ID (iOS)

1 Like