GeometryReader
?Suggested approach: Start with the simplest answer and work your way up: GeometryReader
allows us to read the size and location of a view, which means we can create proportional layouts or create adaptive modifiers that change their values as a view moves around the screen.
For bonus points you might want to add that GeometryReader
is frequently over-used.
Estimated difficulty: Intermediate
See the full list of iOS interview questions
Link copied to your pasteboard.