我有一个使用 SwiftUI 构建的简单 Apple Watch 应用程序。我正在尝试添加一个按钮以从“我”转到“ContentView我SettingsView使用”NavigationLink
struct ContentView: View {\n \n @EnvironmentObject var settings: SettingsObject\n @EnvironmentObject var chilly: ChillyObject\n \n var body: some View {\n ZStack{\n VStack{\n\n Text(chilly.message)\n .foregroundColor(chilly.textColor)\n .font(.largeTitle)\n .fontWeight(.heavy)\n .multilineTextAlignment(.center).fixedSize(horizontal: false, vertical: true)\n .padding(.top, 9.0)\n \n Text(chilly.emoji)\n .font(.largeTitle).foregroundColor(Color.black)\n .multilineTextAlignment(.center)\n .padding(.bottom, -20.0)\n \n NavigationLink(destination: SettingsView) {\n Text("\xe2\x9a\x99\xef\xb8\x8f Settings")\n .font(.body)\n .fontWeight(.semibold)\n }\n .frame(width: 120.0)\n\n }\n }\n }\n}\nRun Code Online (Sandbox Code Playgroud)\nstruct SettingsView: View {\n \n @EnvironmentObject var settings: SettingsObject\n \n var body: some View {\n ZStack …Run Code Online (Sandbox Code Playgroud)