SSLoadingView is a simple loading view for iOS. It can be placed in a view of any size, and adds a large activity indicator centred in a transluscent background that fills the entire view it was added to.
- Fills the frame of its superview
- Activity indicator is centred in the view (vertically & horizontally)
- Transluscent background
- Fades in/out when added/removed from a view
Add QuartzCore.framework to your project:
Project > Target > Build Phases > Link Binary With Libraries > + > QuartzCore.framework
SSLoadingView uses Automatic Reference Counting (ARC).
self.loadingView = [SSLoadingView loadingViewInView:self.loadingViewContainer];
[self.loadingView removeView];
With thanks to: