How to show the Network Activity Indicator (spinning wheel in the iOS status bar)

Here’s how you start it:

And this is how you stop it:

Comes in handy when displaying a UIWebView or performing any other activity that requires the user to “hang in there for a bit”. If you want to create the same effect within a view see here.

Note that you need to conform to the UIWebViewDelegate protocol for this method to be called.

About Jay Versluis

Jay is a medical miracle known as a Super Survivor. He runs two YouTube channels, five websites and several podcast feeds. To see what else he's up to, and to support him on his mission to make the world a better place, check out his Patreon Campaign.

Add your voice!