d
This commit is contained in:
1 parent
c18659a607
commit
c17a15dac9
4 files changed
+13
-7
No files matched your search
+10
-1
@@ -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