CompleteVC.swift 993 Bytes
Newer Older
jzhang's avatar
jzhang committed
1 2 3 4 5 6 7 8 9 10
//
//  CompleteVC.swift
//  BreastFeedingDemo
//
//  Created by Jay Zhang on 2022/6/7.
//

import UIKit

class CompleteVC: UIViewController {
jzhang's avatar
jzhang committed
11
    @IBOutlet var containerV: UIView!
jzhang's avatar
jzhang committed
12

jzhang's avatar
jzhang committed
13 14
    @IBOutlet var titleL: UILabel!
    @IBOutlet var btn: UIButton!
jzhang's avatar
jzhang committed
15 16 17 18
    override func viewDidLoad() {
        super.viewDidLoad()
        overrideUserInterfaceStyle = .light
        containerV.layer.cornerRadius = 8
jzhang's avatar
jzhang committed
19 20
        titleL.text = getString().completeText
        btn.setTitle(getString().cameraButtonText, for: .normal)
jzhang's avatar
jzhang committed
21 22
    }

jzhang's avatar
jzhang committed
23
    @IBAction func okAction(_: Any) {
jzhang's avatar
jzhang committed
24
        navigationController?.popToRootViewController(animated: true)
jzhang's avatar
jzhang committed
25 26 27 28 29 30 31 32 33 34 35
    }
    /*
     // 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.
     }
     */
}