However, unlike Android devices, cached files on iOS devices are automatically removed when the operating system detects a need for additional space. Third-party apps, on the other hand, would necessitate manual clearing of cache and data. Because the iPhone Camera app is a stock program, iOS should erase the cache when necessary. However, if you want to be certain that everything has been erased, you can try unloading the app instead. This is how it's done:
- From the Home screen, select Settings.
- Tap General.
- Tap iPhone Storage.
- Tap Offload App. Doing so will free up storage and likewise empty cache on your iPhone 8.
check if it works or not