How to clear the cache of iOS apps and launch it again?


I am new to appium started to use it for my project in my own interest.

    In my app i have to launch the app once and kill the cache and have to open it again to verify whether a kind of welcome back screen is displayed.

   I tried it using driver.resetApp() and driver.launchApp() but it doesn't work. Can you please help me out.

Thanks in advance…:slight_smile: