-
Notifications
You must be signed in to change notification settings - Fork 472
Using UIActivityIndicatorView
Anthony Sherbondy edited this page May 13, 2015
·
10 revisions
Add the Activity Indicator View to your storyboard from the Object browser and check the animating property.
Move the Activity Indicator View inside a button. Set the style of the Activity Indicator to be Large White. Select hidden when stopped and uncheck animating.
Add an outlet for the Activity Indicator View in your View Controller. Then, add a tap handler for your button. Inside the tap handler, tell the Activity Indicator View to start animating.