App wrong size for simulator screen

I've tried rescaling the simulator and it doesn't work. I've coped code from a course I'm doing and it still appears to be too large for the simulator screen. Here's a photo of my problem. I'm using Xcode 13