This commit is contained in:
Михаил Капелько
2024-01-02 10:04:10 +03:00
parent c18659a607
commit c17a15dac9
4 changed files with 13 additions and 7 deletions

View File

@@ -1,6 +1,15 @@
import MeetupIdX
import SwiftUI
import UIKit
struct Content: View {
var body: some View {
MeetupId.V()
Divider()
MeetupId.V()
}
}
@UIApplicationMain
class AppDelegate: UIResponder, UIApplicationDelegate
{
@@ -13,7 +22,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate
) -> Bool {
window = UIWindow(frame: UIScreen.main.bounds)
let vc = UIViewController()
addSwiftUIViewAsChild(swiftUIView: MeetupId.V(), parent: vc.view)
addSwiftUIViewAsChild(swiftUIView: Content(), parent: vc.view)
vc.view.backgroundColor = .white
window?.rootViewController = vc
window?.backgroundColor = UIColor.white