This app remains motionles for three seconds,
rotates the activity indicator for 10 seconds,
and then stops.
This sequence is stage managed by the
The view controller manipulates the
like a marionette.
The strings are the
methods of the view.
we do not have to specify a size for an
On iPhone 6, it assumes a default size of
20 × 20
pairs of pixels for
37 × 37 for
The gear has 12 teeth. The highlight starts at 9 o’clock and rotates clockwise at the rate of 360° per second. Hide the activity indicator when it has finished so the user won’t think the app has stalled. See Activity Indicator in the Human Interface Guidelines.
is like an invisible
that is automatically pressed after a certain number of seconds.
When the time is up,
it can call a method of an object.
UIActivityIndicatorViewStyle.LargeWhite. Warning: a
LargeWhiteindicator on a white background will be totally invisible.
activityIndicatorView.color = UIColor.blueColor();
resumemethod of the download task, and stop animating at the beginning of the completion handler passed to