|
1
|
import SwiftUI |
|
2
|
|
|
3
|
@main |
|
4
|
struct TauriTvOSApp: App { |
|
5
|
var body: some Scene { |
|
6
|
WindowGroup { |
|
7
|
ContentView() |
|
8
|
} |
|
9
|
} |
|
10
|
} |
|
11
|
|
|
12
|
struct ContentView: View { |
|
13
|
var body: some View { |
|
14
|
VStack(spacing: 24) { |
|
15
|
Image(systemName: "tv") |
|
16
|
.font(.system(size: 80)) |
|
17
|
.foregroundColor(.accentColor) |
|
18
|
Text("tauri-app") |
|
19
|
.font(.headline) |
|
20
|
Text("tvOS target placeholder — no WebView available on this platform.") |
|
21
|
.font(.subheadline) |
|
22
|
.foregroundColor(.secondary) |
|
23
|
.multilineTextAlignment(.center) |
|
24
|
} |
|
25
|
.padding(48) |
|
26
|
} |
|
27
|
} |