Android support, attempt-1 #8

Open
kornerr wants to merge 62 commits from and1 into master
pull from: and1
3 changed files with 16 additions and 1 deletions
Showing only changes of commit 730da461c3 - Show all commits

No files matched your search

@@ -0,0 +1,10 @@
import SwiftUI
import UIKit
struct RenderView: UIViewRepresentable {
func makeUIView(context: Context) -> RenderGLView {
RenderVM.shared!.glView
}
func updateUIView(_ uiView: RenderGLView, context: Context) {}
}
+5 -1
View File
@@ -6,7 +6,11 @@ struct BlueApp: App {
var body: some Scene {
WindowGroup {
BlueView(appDelegate.blueVM)
ZStack {
RenderView()
.ignoreSafeArea()
BlueView(appDelegate.blueVM)
}
}
}
}
+1
View File
@@ -0,0 +1 @@
../../../../../components/render/ios/view/RenderView.swift