import SwiftUI
struct ViewController_Previews: PreviewProvider {
static var previews: some View {
VC_view()
}
}
struct VC_view : UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> ViewController {
return ViewController()
}
func updateUIViewController(_ uiViewController: ViewController, context: Context) {
}
// typealias UIViewControllerType = ViewController
}
网友评论