i have been an Apple iOS user since 2009. Apple has intentionally left out the methods to allow customers to clear their Documents and Data (aka Application temp space) to force their phones to bloat.
once the bloating for all applications is large enough it forces the customers to buy ICloud membership and subscriptions is the new ways for online money grab. Or it forces the customers to buy new phones with larger memory which charge 60% higher for same amount of memory in the retail parts market.
the only wait to clear your applications temp space is to delete the application and re-install it from the App Store. If your application has native option for savings it’s native data, settings and archived content inside its profile cloud account then your app will function as normal. If not, May God be with you.
Apple will not allow you to delete the temp space area in the past, now or future - since it feels it’s “too risky”