I don't know about apple but for android:
How to clear your hidden app cache on Android
Open device Settings, and select Apps.
Find the app you want to clear app data for, tap it, and select Storage.
Tap Clear cache to delete all cached data for the selected app.
Repeat the process for other apps to continue clearing hidden app cache.