import UIKit import Foundation import GeneralUtils 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() } override open var supportedInterfaceOrientations: UIInterfaceOrientationMask { return UIInterfaceOrientationMask.portrait } }