Slide 9
Slide 9 text
ViewAlignedScrollTargetBehavior
(limitBehavior:anchor:)
● iOS 26.0+
○ Anchorなし版はiOS 17.0+
● スクロール要素の端を所定の位置で停止できる
○ scrollTargetBehavior(_:) に渡して使用
● スクロールする要素の止まる位置をAnchorで指定
9
https://developer.apple.com/documentation/swiftui/view
alignedscrolltargetbehavior/init(limitbehavior:anchor:)