Surprise Me!

iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt1

2014-04-15 569 Dailymotion

http://www.mybringback.com<br />Jake's G+ = http://goo.gl/Of4a0<br />Travis's G+ = http://goo.gl/xGz4q<br /><br />iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt1<br /><br />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: http://www.mybringback.com/tutorial-series/12442/ios-tutorial-uiwebview-uiactivityindicator-example-xcode-4-5/<br /><br />- (void)webViewDidStartLoad:(UIWebView *)webView<br />{<br /> [_activityIndicator startAnimating];<br />}<br /><br />- (void)webViewDidFinishLoad:(UIWebView *)webView<br />{<br /> [_activityIndicator stopAnimating];<br /> _activityIndicator.hidden = TRUE;<br />}<br /><br />If you want to learn more, check out http://www.mybringback.com<br /><br />Hit us up on G+, facebook, or twitter!<br /><br />http://www.facebook.com/mybringback<br />http://www.twitter.com/mybringback<br />http://www.todaysawesomesauce.com<br />-------------<br /><br />Thanks to Nolan for the Intro Music!

Buy Now on CodeCanyon