mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-04-19 04:55:19 +00:00
COVIDSafe code from version 1.1
This commit is contained in:
commit
3640e52eb2
330 changed files with 261540 additions and 0 deletions
28
CovidSafe/Question3ErrorViewController.swift
Normal file
28
CovidSafe/Question3ErrorViewController.swift
Normal file
|
@ -0,0 +1,28 @@
|
|||
// Copyright © 2020 Australian Government All rights reserved.
|
||||
|
||||
import Foundation
|
||||
import UIKit
|
||||
|
||||
class Question3ErrorViewController: UIViewController {
|
||||
|
||||
@IBOutlet var titleTextView: UITextView!
|
||||
@IBOutlet var messageTextView: UITextView!
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
navigationItem.hidesBackButton = true
|
||||
setupTextViews()
|
||||
}
|
||||
|
||||
private func setupTextViews() {
|
||||
titleTextView.textContainer.lineFragmentPadding = 0.0
|
||||
titleTextView.addLink("https://aus.gov.au", enclosedIn: "*")
|
||||
|
||||
messageTextView.textContainer.lineFragmentPadding = 0.0
|
||||
messageTextView.addLink("https://aus.gov.au", enclosedIn: "*")
|
||||
}
|
||||
|
||||
@IBAction func continueButtonTapped(_ sender: Any) {
|
||||
dismiss(animated: true, completion: nil)
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue