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

No files matched your search

+10 -1
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