mobile-ios/CovidSafe/MigrationViewController.swift

23 lines
659 B
Swift
Raw Permalink Normal View History

2020-05-26 07:13:26 +00:00
//
// 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()
}
}