Commit c8c285c6 authored by Zandor Smith's avatar Zandor Smith 💻
Browse files

Use view will appear for auto refresh.

parent a6f0768c
Pipeline #5289 failed with stages
in 2 minutes and 12 seconds
......@@ -13,8 +13,8 @@ class ViewController: UIViewController {
@IBOutlet weak var stateLabel: UILabel!
override func viewDidLoad() {
super.viewDidLoad()
override func viewWillAppear(_ animated: Bool) {
super.viewWillAppear(animated)
self.refresh()
}
......@@ -27,4 +27,3 @@ class ViewController: UIViewController {
}
}
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment