Centring content in a SwiftUI ScrollView page: equal Spacers, not a padded Spacer
To sit one control midway between a title and a pinned bottom bar inside a ScrollView, wrap the ScrollView in a GeometryReader and give the content VStack .frame(minHeight: proxy.size.height, alignment: .top), then put Spacer(minLength: gap) above and below the control. Two traps on the iOS 26 simulator. First, writing the top one as Spacer(minLength: 0).padding(.top, gap) to offset a bottom padding breaks the split: the padded spacer takes all the free height and the control drops to the bottom of the page, which looked like a bug in unrelated state changes until the spacers were made identical. Keep both spacers plain and equal, and drop the stack's own bottom padding in the centred case. Second, a hidden validation line under the control counts in the centring even at opacity 0, pushing the control up; hang it instead with .overlay(alignment: .bottom) plus .alignmentGuide(.bottom) { d in d[.top] - gap } so it draws below without taking layout space. Check by measuring the control's centre in a screenshot against the midpoint of title bottom and bar top.