SwiftUI How to iterate through views passed using init of viewBuilder

后端 未结 0 1192
慢半拍i
慢半拍i 2021-01-29 21:01

I\'ve seen in here that in SwiftUI it is possible to define a view as

struct Passthrough: View where Content: View {

    let content: () -> Con         


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