App looks different on actual hardware or simulator verses preview

I did a fair amount of work and there was an issue with dragging pointing and hitting the edge I couldn't fix. Once I ran it on device I noticed that was fine, but it looks wrong. It looks like an iPhone 8 layout on my iPhone 13 Pro Max. Nothing I do seems to fix this, can anyone help. I am a new developer, and this is my first time posting on these forums so hello as well.

  • Hello and welcome.

    What is it that you actually expect to see? What is the code looking like to produce what you wish to see? Is it just the visual appearance that is wrong, or some functionality too?

Add a Comment

Replies

We'd need to see the code to see what could be going on. It could be that you're previewing your view directly, so it can go edge to edge. But when you run your app, it's in a container that has a constrained size.