blob: 1825113b056bcf6192883906ed76e89f15858267 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
//
// LoadingView.swift
// iosApp
//
// Created by Iván on 27/01/22.
// Copyright © 2022 orgName. All rights reserved.
//
import SwiftUI
struct LoadingView: UIViewRepresentable {
func makeUIView(context: Context) -> UIActivityIndicatorView {
return UIActivityIndicatorView(style: .large)
}
func updateUIView(_ uiView: UIActivityIndicatorView, context: Context) {
uiView.startAnimating()
}
}
|