Chapter 3 - GeometryReader

After following along to where I added the GeometryReader to adjust for different screen sizes it caused my circles to appear left-aligned instead of center-aligned like they were before and how they appear in the book. Any ideas?

hi Padraic! make sure GeometryReader is the top-level container in body. Try running the final project, to see if it happens there.

If you have a subscription, look at Caroline’s explanation of GeometryReader in SwiftUI Apprentice. In her example, embedding an HStack in GeometryReader changes its centered alignment to top leading, which she fixes with padding.