Generic Structure


A container view that defines its content as a function of its own size and coordinate space.


@frozen struct GeometryReader<Content> where Content : View


This view returns a flexible preferred size to its parent layout.


Applying Standard Modifiers

View Modifiers

Configure this view and the views it contains by applying standard modifiers.


Conforms To

See Also


struct GeometryProxy

A proxy for access to the size and coordinate space (for anchor resolution) of the container view.

protocol GeometryEffect

An effect that changes the visual appearance of a view, largely without changing its ancestors or descendents.

struct Angle

A geometric angle whose value you access in either radians or degrees.

struct Anchor

An opaque value derived from an anchor source and a particular view.

protocol VectorArithmetic

A type that can serve as the animatable data of an animatable type.