Pass data from list to another View in SwiftUI

前端 未结 0 1121
灰色年华
灰色年华 2021-02-20 04:36

a have horizontal scroll View with a lot of cards. How I cat read card index which is now on the screen (each card have the same width as screen) and pass this index to another

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