CardProcessVC.swift 1.43 KB
//
//  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.
    }
    */

}