Uploaded November 2012 | Updated November 2026, 1 day ago
mybringback.com
Jake's G+ = goo.gl/Of4a0
Travis's G+ = goo.gl/xGz4q
iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt1
In this tutorial, we add an activity indicator to our project. The UIActivityIndicator shows that the pre-existing UIWebView is loading or processing information. Typically, you want to use the activity indicator when you don't know the duration of the load time. The activity indicator is controlled by the UIWebView delegate protocol. The delegate is the key to the activity indicator receiving the proper instructions. If the delegate wasn't communicating with the activity indicator, the indicator would probably spin forever or not do anything. Download the initial project here: mybringback.com/tutorial-series/12442/ios-tutorial-uiwebview-uiactivityindicator-example-xcode-4-5
- (void)webViewDidStartLoad:(UIWebView *)webView
{
[_activityIndicator startAnimating];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
[_activityIndicator stopAnimating];
_activityIndicator.hidden = TRUE;
}
If you want to learn more, check out mybringback.com
Hit us up on G+, facebook, or twitter!
facebook.com/mybringback
twitter.com/mybringback
todaysawesomesauce.com
-------------
Thanks to Nolan for the Intro Music! .
Visit Our Friends @ Stone River E-Learning for Additional Tutorials - bit.ly/1fjsXTn
Coupon 20% Off HTML & CSS for Beginners - bit.ly/1MmuYfw
mybringback.com
Jake's G+ = goo.gl/Of4a0
Travis's G+ = goo.gl/xGz4q
iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt1
In this tutorial, we add an activity indicator to our project. The UIActivityIndicator shows that the pre-existing UIWebView is loading or processing information. Typically, you want to use the activity indicator when you don't know the duration of the load time. The activity indicator is controlled by the UIWebView delegate protocol. The delegate is the key to the activity indicator receiving the proper instructions. If the delegate wasn't communicating with the activity indicator, the indicator would probably spin forever or not do anything. Download the initial project here: mybringback.com/tutorial-series/12442/ios-tutorial-uiwebview-uiactivityindicator-example-xcode-4-5
- (void)webViewDidStartLoad:(UIWebView *)webView
{
[_activityIndicator startAnimating];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
[_activityIndicator stopAnimating];
_activityIndicator.hidden = TRUE;
}
If you want to learn more, check out mybringback.com
Hit us up on G+, facebook, or twitter!
facebook.com/mybringback
twitter.com/mybringback
todaysawesomesauce.com
-------------
Thanks to Nolan for the Intro Music! .
Visit Our Friends @ Stone River E-Learning for Additional Tutorials - bit.ly/1fjsXTn
Coupon 20% Off HTML & CSS for Beginners - bit.ly/1MmuYfw










