mobile-ios/CovidSafe/Question1ErrorViewController.swift
2020-05-08 17:49:14 +10:00

21 lines
712 B
Swift

// Copyright © 2020 Australian Government All rights reserved.
import Foundation
import UIKit
class Question1ErrorViewController: UIViewController {
@IBOutlet weak var messageTextView: UITextView!
override func viewDidLoad() {
super.viewDidLoad()
navigationItem.hidesBackButton = true
messageTextView.textContainer.lineFragmentPadding = 0.0
messageTextView.addLink("https://www.health.gov.au/news/health-alerts/novel-coronavirus-2019-ncov-health-alert/what-you-need-to-know-about-coronavirus-covid-19#testing", enclosedIn: "*")
}
@IBAction func continueButtonTapped(_ sender: Any) {
dismiss(animated: true, completion: nil)
}
}