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.

Jay is the CEO and founder of WP Hosting, a boutique style managed WordPress hosting and support service. He has been working with Plesk since version 9 and is a qualified Parallels Automation Professional. In his spare time he likes to develop iOS apps and WordPress plugins, or draw on tablet devices. He blogs about his coding journey at and

Add your voice!