SwiftUI - Unknown preview provider “ContentView_Previews_” when previewing. Happens in a brand-new project

后端 未结 0 1956

I have this simple view.

import SwiftUI

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

struct ContentView_Previews         


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