d
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user