mirror of
https://github.com/AU-COVIDSafe/mobile-ios.git
synced 2025-04-19 21:15:21 +00:00
COVIDSafe code from version 1.4 (#3)
This commit is contained in:
parent
56c93f2079
commit
b2e0c5b34c
33 changed files with 6865 additions and 481 deletions
22
CovidSafe/MigrationViewController.swift
Normal file
22
CovidSafe/MigrationViewController.swift
Normal file
|
@ -0,0 +1,22 @@
|
|||
//
|
||||
// MigrationViewController.swift
|
||||
// CovidSafe
|
||||
//
|
||||
// Copyright © 2020 Australian Government. All rights reserved.
|
||||
//
|
||||
|
||||
import UIKit
|
||||
import Lottie
|
||||
|
||||
class MigrationViewController: UIViewController {
|
||||
@IBOutlet weak var animationContainer: UIView!
|
||||
|
||||
override func viewDidLoad() {
|
||||
super.viewDidLoad()
|
||||
let migrationAnimation = AnimationView(name: "spinner_migrating_db")
|
||||
migrationAnimation.loopMode = .loop
|
||||
migrationAnimation.frame = CGRect(origin: CGPoint(x: 0, y: 0), size: self.animationContainer.frame.size)
|
||||
self.animationContainer.addSubview(migrationAnimation)
|
||||
migrationAnimation.play()
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue