Android support, attempt-1 #8
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) {}
|
||||
}
|
||||
@@ -6,7 +6,11 @@ struct BlueApp: App {
|
||||
|
||||
var body: some Scene {
|
||||
WindowGroup {
|
||||
BlueView(appDelegate.blueVM)
|
||||
ZStack {
|
||||
RenderView()
|
||||
.ignoreSafeArea()
|
||||
BlueView(appDelegate.blueVM)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
../../../../../components/render/ios/view/RenderView.swift
|
||||
Reference in new issue
Block a user