initial
This commit is contained in:
21
src/App.swift
Normal file
21
src/App.swift
Normal file
@@ -0,0 +1,21 @@
|
||||
import UIKit
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate
|
||||
{
|
||||
var window: UIWindow?
|
||||
|
||||
func application(
|
||||
_ application: UIApplication,
|
||||
didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?
|
||||
) -> Bool {
|
||||
window = UIWindow(frame: UIScreen.main.bounds)
|
||||
let vc = UIViewController()
|
||||
vc.view.backgroundColor = .gray
|
||||
window?.rootViewController = vc
|
||||
window?.backgroundColor = UIColor.white
|
||||
window?.makeKeyAndVisible()
|
||||
|
||||
return true
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user