Post
My personal highlight, and probably the most useful addition for many of us: the new ContentMarginGuide! It lets us use the same margins Apple uses for its own content, like in Lists, instead of hard-coding values ourselves. Explore it here: exploreswiftui.com/library/view...
exploreswiftui.comContainer Content Margins | Explore SwiftUIAdds the margins of the container the view is in. Learn how to use Container Content Margins in SwiftUI with visual code examples.
We can also read these values with GeometryReader. For example, on iPhone 18, the horizontal content margins are 16 points. On Duo in landscape, they’re 20 points on the leading edge and 0 on the trailing edge, where space is reserved on the right.
0 reposts0 likes
First, there’s a new homeContext environment value. Unfortunately, Apple hasn’t shared what it does or which values it supports. developer.apple.com/documentatio...
developer.apple.comhomeContext | Apple Developer DocumentationThere's never been a better time to develop for Apple platforms.