📘

SwiftUIのpositionとoffsetの違い

に公開

.position(x: 0, y: 0)

基準が左上

.offset(x: 0, y: 0)

基準が中央

Discussion