Skip to content

Glossary: SwiftUI

.frame

Also written: frame

A modifier that gives a view a size in points, such as `.frame(width: 44, height: 44)`, or lets it grow with `maxWidth: .infinity`.

Where the book teaches it

Related terms

pointsSpacer.padding