compose-multiplatform-ios-a.../iosApp/iosApp/ContentView.swift
Sebastian Aigner c7d2402619 Add explicit place to change the status bar color
Make it so that Compose stretches to the bottom of the screen (no white border)
2023-05-23 16:57:02 +02:00

21 lines
483 B
Swift

import UIKit
import SwiftUI
import shared
struct ComposeView: UIViewControllerRepresentable {
func makeUIViewController(context: Context) -> UIViewController {
Main_iosKt.MainViewController()
}
func updateUIViewController(_ uiViewController: UIViewController, context: Context) {}
}
struct ContentView: View {
var body: some View {
ComposeView()
.ignoresSafeArea(.all, edges: .bottom) // Compose has own keyboard handler
}
}