clearing out temp files on the iphone xr

hi all, I have my iphone xr, and when I had the iphones that had home buttons i could hit the power button until the phone said power off, then hold the home button to clear the temp files. how do i go about doing this same thing on the iphone xr sense I don't have a home button anymore?

Forum: 

#1 assistive touch

I was curious about this so I looked it up.

Most resources recommend turning on assistive touch and using the home button that way.

What I've done is set up assistive touch so a menu has the common gestures, so all I have to do is find the assistive touch icon, double tap on that, a menu pops up, then all I need to do is swipe to the home button and double tap and hold.

I still have a home button, but I figured it's a skil worth learning, just in case I upgrade in future.

Assistive touch also allows you to reboot your phone, without having to power off, then back on.