38 lines
808 B
Swift
38 lines
808 B
Swift
//
|
|
// ContentView.swift
|
|
// tg_test
|
|
//
|
|
// Created by 陳奕呈 on 2026/9/23.
|
|
//
|
|
|
|
import SwiftUI
|
|
|
|
struct ContentView: View {
|
|
var body: some View {
|
|
TabView {
|
|
HomeView()
|
|
.tabItem {
|
|
Label("Home", systemImage: "house.fill")
|
|
}
|
|
|
|
SearchView()
|
|
.tabItem {
|
|
Label("Search", systemImage: "magnifyingglass")
|
|
}
|
|
|
|
NotificationsView()
|
|
.tabItem {
|
|
Label("Notifications", systemImage: "bell.fill")
|
|
}
|
|
|
|
ProfileView()
|
|
.tabItem {
|
|
Label("Profile", systemImage: "person.fill")
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#Preview {
|
|
ContentView()
|
|
}
|