Blame view
App/SplashController.swift
659 Bytes
|
d774f0637
|
1 2 |
import UIKit import Foundation |
|
1341bf603
|
3 |
import GeneralUtils |
|
d774f0637
|
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
class SplashController: UIViewController {
@IBOutlet weak var vContent: UIView!
override func viewDidLoad() {
super.viewDidLoad()
}
override func viewDidAppear(_ animated: Bool) {
super.viewDidAppear(animated)
VCRoot.openController(self)
}
override func viewDidDisappear(_ animated: Bool) {
super.viewDidDisappear(animated)
self.view.removeAllChild()
self.view.removeFromSuperview()
}
|
|
1341bf603
|
22 23 24 |
override open var supportedInterfaceOrientations: UIInterfaceOrientationMask {
return UIInterfaceOrientationMask.portrait
}
|
|
d774f0637
|
25 |
} |