Initial work on background visualization
This commit is contained in:
30
XIONControlPanel/Application/AppDelegate.swift
Normal file
30
XIONControlPanel/Application/AppDelegate.swift
Normal file
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// AppDelegate.swift
|
||||
// XIONControlPanel
|
||||
//
|
||||
// Created by Charles Magahern on 12/29/15.
|
||||
// Copyright © 2015 XION. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
|
||||
@UIApplicationMain
|
||||
class AppDelegate: UIResponder, UIApplicationDelegate {
|
||||
var window: UIWindow?
|
||||
|
||||
func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool
|
||||
{
|
||||
application.statusBarHidden = true
|
||||
|
||||
self.window = UIWindow(frame: UIScreen.mainScreen().bounds)
|
||||
self.window?.rootViewController = MainViewController()
|
||||
self.window?.makeKeyAndVisible()
|
||||
|
||||
return true
|
||||
}
|
||||
|
||||
func application(application: UIApplication, supportedInterfaceOrientationsForWindow window: UIWindow?) -> UIInterfaceOrientationMask
|
||||
{
|
||||
return UIInterfaceOrientationMask.Portrait
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user