How to use a list of protocol that conforms to View in ForEach in SwiftUI

后端 未结 0 435
你的背包
你的背包 2021-01-14 09:50

I\'m trying to use a list of protocol that conforms to View with ForEach but it always complains about "Protocol can only be used as a generic constraint because it has

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