SwiftUI present sheet based on ForEach item selected

后端 未结 0 706
长发绾君心
长发绾君心 2021-01-30 03:54

I have a ForEach loop with a sheet opening when user taps on a row. The data on the sheet opened is based on which row did the user select. My code:

@State privat         


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