Files
wordloop/ios/WordLoop/WordLoop/ContentView.swift
T
john e76fa586f1 Add word-book practice, iOS app shell, and fix embedded WebView blank screen.
Ship dual-track learning (daily accumulation vs textbook),沪教/商务词书 APIs and UI, native iOS wrapper with bundled H5, and production book import on deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-06-06 21:09:27 +08:00

23 lines
560 B
Swift

import SwiftUI
struct ContentView: View {
@State private var environment = ServerSettings.environment
@State private var localBaseURL = ServerSettings.localBaseURL
@State private var activeBaseURL = ServerSettings.activeBaseURL
var body: some View {
WordLoopWebContainer(
environment: $environment,
localBaseURL: $localBaseURL,
baseURL: activeBaseURL,
onBaseURLChange: { baseURL in
activeBaseURL = baseURL
}
)
}
}
#Preview {
ContentView()
}