admin管理员组

文章数量:1353228

I'm creating a new iOS project in Xcode. In the LaunchScreen.storyboard, I added a UIView and tried to make it fill the entire screen including safe areas (top and bottom). Here's what I did:

Dragged a UIView to the storyboard.

Added constraints:

Top: 0 to Safe Area's Top

Leading: 0 to Superview's Leading

Trailing: 0 to Superview's Trailing

Bottom: 0 to Safe Area's Bottomenter image description here

But the bottom safe area constraint doesn't work – the view stops at the bottom of the screen, ignoring the safe area (e.g., leaves space for iPhone’s Home Indicator). .png

.png

本文标签: iosLaunchScreenstoryboard Bottom safe area constraint not working for UIView (Xcode 16)Stack Overflow