Check for “real” view behind AnyView

后端 未结 0 848
一生所求
一生所求 2020-12-22 17:32

Given the following code

import SwiftUI

struct Foo: View {
    var body: some View {
        Text("Hello World")
    }
}

let anyViewFoo = AnyView(         


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