yayacal/iosApp/iosApp/ContentView.swift
xfy 3b564cb29a Initial commit: Kotlin Multiplatform project setup
Configure Compose Multiplatform targeting Android and iOS with Gradle build system.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-14 10:27:30 +08:00

22 lines
437 B
Swift

import UIKit
import SwiftUI
import ComposeApp
struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController {
MainViewControllerKt.MainViewController()
}
func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea()
}
}