Blame view

App/addPerson/VCConfirmId.swift 954 Bytes
1341bf603   Trịnh Văn Quân   version 1.1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
  import UIKit
  
  class VCConfirmId: UIViewController {
      @IBOutlet weak var edtTitle: UITextField!
      @IBOutlet weak var topMargin: NSLayoutConstraint!
      @IBOutlet weak var vTopLogo: VTopLogo!
  
      static func openController(_ viewController: UIViewController) {
          let storyboard: UIStoryboard = UIStoryboard(name: "Main", bundle: nil)
          let vcOpen = storyboard.instantiateViewController(withIdentifier: "VCConfirmId") as! VCConfirmId
          viewController.present(vcOpen, animated: true, completion: nil)
      }
  
  
      @IBAction func btnLeftClick(_ sender: Any) {
          dismiss(animated: true)
      }
  
      @IBAction func btnRightClick(_ sender: Any) {
      }
  
      @IBAction func edtActionTrigerClick(_ sender: Any) {
          edtTitle.endEditing(true)
      }
  
  
      override func viewDidDisappear(_ animated: Bool) {
          super.viewDidDisappear(animated)
      }
  
      override var prefersStatusBarHidden : Bool {
          return true
      }
  }