How to enable Attributes Inspector, Measurements and Slow Animation on an iPhone

I recently found that when I run an app on an iPhone, if I swipe from the right edge, these tools will show on the screen. But they won't show if I run other apps. I have no idea how to enable this function, and I can't find relevant information on the internet.

I'm using XCode 13.1 and iOS 15.1.

How to enable Attributes Inspector, Measurements and Slow Animation on an iPhone
 
 
Q