Save ScrollViews position and scroll back to it later (offset to position)

前端 未结 0 1378
夕颜
夕颜 2021-01-24 20:33

I have found a way to save a ScrollViews offset with a GeometryReader and a PreferenceKey.

SwiftUI | Get current scroll po

相关标签:
回答
  • 消灭零回复
提交回复
热议问题