Blame view

App/SplashController.swift 659 Bytes
d774f0637   Trịnh Văn Quân   fisrt comit
1
2
  import UIKit
  import Foundation
1341bf603   Trịnh Văn Quân   version 1.1
3
  import GeneralUtils
d774f0637   Trịnh Văn Quân   fisrt comit
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   Trịnh Văn Quân   version 1.1
22
23
24
      override open var supportedInterfaceOrientations: UIInterfaceOrientationMask {
          return UIInterfaceOrientationMask.portrait
      }
d774f0637   Trịnh Văn Quân   fisrt comit
25
  }