Improving the Web View 1/4. UIActivityIndicatorView

This tutorial continues on from How to use Open Flow to create a menu, so make sure you get the code. This tutorial is going to show you how to add an UIActivityIndicatorView that is the little gray loading signal.

UIActivityIndicatorView
To begin go to FirstViewController.h and insert the following after the declaration of the UIWebView.

Save and then double click on the FirstViewr.xib file.
In the interface builder add an activity indicator to the center of the web view.

Then select Hide when stopped.

If you saved the .h and .m file then under File’s Owner you should see m_activity click the circle and drag it over to the gray activity indicator.
Save and run and you should see the spinning gray indicator when you click one of the menu buttonscode for Improving the web view 1/4

I read a lot of interesting articles here. Probably you spend a lot of time writing,
i know how to save you a lot of work, there is an online
tool that creates high quality, SEO friendly articles in minutes, just
search in google – laranitas free content source