Blame view

HDFwear/Setting/CardProcessVC.swift 1.73 KB
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
  //
  //  CardProcessVC.swift
  //  Twear
  //
  //  Created by yangbin on 2022/1/19.
  //
  
  import UIKit
  
  class CardProcessVC: UIViewController {
      var app: String = ""
      @IBOutlet weak var titleLabel: UILabel!
      @IBOutlet weak var detailLabel: UILabel!
      @IBOutlet weak var imageView: UIImageView!
      private let processImageDic: [String: String] = ["微信": "card_process_wechat", "QQ": "card_process_qq", "Facebook": "card_process_Facebook", "WhatsApp": "card_process_WhatsApp", "Twitter": "card_process_Twitter"]
      
      
      override func viewDidLoad() {
          super.viewDidLoad()
          if AppSettings.shared.language == .Chinese || AppSettings.shared.language == .Japanese {
              title = LocString(app) + LocString("名片")
              titleLabel.text = LocString("绑定")  + LocString(app) + LocString("名片1")
          } else {
              title = LocString(app) + " " + LocString("名片")
              titleLabel.text = LocString("绑定") + " "  + LocString(app) + LocString("名片1")
          }
          
          imageView.image = UIImage(named: processImageDic[app]!)
f2624318   daifengyi   feat:rename throu...
29
          detailLabel.text = "\(LocString("请按以上步骤获取"))\(LocString(app))\( LocString("名片"))\n\(LocString("注意:在上传二维码到YTWatch时,请务必按照上图所示,保证上传规范,否则将绑定失败!"))"
f2cf74c7   yangbin   1.0.20(4)
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
          // 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.
      }
      */
  
  }