【发布时间】:2019-11-13 11:37:35
【问题描述】:
有没有办法让 SwiftUI 中的 List 不可滚动?
像我们一样
tableView.isScrollEnabled
【问题讨论】:
-
你可以使用
ForEach -
@Andrew 使用 forEach?
-
这是对
ForEachhackingwithswift.com/quick-start/swiftui/…的很好的描述 -
谢谢你的评论,实际上已经在列表中使用 foreach ????