How to clear cache in ionic v3

I would like to know how to clear the ion cache for the ios platform when switching between tabs. I mean free memory, such as stored canvas, images, etc.

hi Hdfa don’t worry I am here to help you,
run blow command in your project directory
cordova clean

cheers!!