Blame view

HDFwear/Mine/AboutAppVC.swift 910 Bytes
f2cf74c7   yangbin   1.0.20(4)
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
  //
  //  AboutAPPVC.swift
  //  Twear
  //
  //  Created by yangbin on 2022/1/1.
  //
  
  import UIKit
  
  class AboutAppVC: UIViewController {
      @IBOutlet weak var label: UILabel!
      
      override func viewDidLoad() {
          super.viewDidLoad()
          title = LocString("关于")
          let infoDictionary : Dictionary = Bundle.main.infoDictionary!
          let curVersion = infoDictionary["CFBundleShortVersionString"] as! String
  
          label.text = LocString("版本") + " " + curVersion
          // Do any additional setup after loading the view.
      }
      
  
      /*
      // MARK: - Navigation
  
      // In a storyboard-based application, you will often want to do a little preparation before navigation
      override func prepare(for segue: UIStoryboardSegue, sender: Any?) {
          // Get the new view controller using segue.destination.
          // Pass the selected object to the new view controller.
      }
      */
  
  }