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
版权声明:本文标题:ios - LaunchScreen.storyboard: Bottom safe area constraint not working for UIView (Xcode 16) - Stack Overflow 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1743892884a2557248.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论