Blame view

Twear/Setting/CardProcessVC.swift 1.43 KB
582f536d   yangbin   common:2022.1.28
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
35
36
37
  //
  //  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()
          title = LocString(app) + " " + LocString("名片")
          titleLabel.text = LocString("绑定") + LocString(app) + LocString("名片1")
          imageView.image = UIImage(named: processImageDic[app]!)
          detailLabel.text = "\(LocString("请按以上步骤获取"))\(LocString(app))\( LocString("名片"))\n\(LocString("注意:在上传二维码到HDF wear时,请务必按照上图所示,保证上传规范,否则将绑定失败!"))"
          // 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.
      }
      */
  
  }