FUIModalLoadingIndicator
public class FUIModalLoadingIndicator
FUIModalLoadingIndicator provides convenience class methods for showing an overlay modal loading indicator view centered on screen.
You use the show() method to display a FUIModalLoadingIndicatorView.
The show() methods return the created FUIModalLoadingIndicatorView instance that can be used to dismiss() the view again.
## Usage
### Show Fullscreen
//show the modal view:
let modalLoadingView = FUIModalLoadingIndicator.show()
...
// dismiss the modal view:
modalLoadingView.dismiss()
-
Shows the loading indicator in the center of
viewand starts spinning the activity indicator.Declaration
Swift
public class func show(inView view: UIView, animated: Bool = true) -> FUIModalLoadingIndicatorViewParameters
viewthe container view in which the loading indicator is centered.
animatedwhether the loading indicator is shown with a fade animation. The default is
true.