此内容来自第三方平台 (Dailymotion)。如果此视频侵犯了您的版权,请使用 立即删除 工具。
iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt2
描述
http://www.mybringback.com
Jake's G+ = http://goo.gl/Of4a0
Travis's G+ = http://goo.gl/xGz4q
iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt2
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 final project here: http://www.mybringback.com/tutorial-series/12443/ios-tutorial-uiwebview-uiactivityindicator-example-xcode/
- (void)webViewDidStartLoad:(UIWebView *)webView
{
[_activityIndicator startAnimating];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
[_activityIndicator stopAnimating];
_activityIndicator.hidden = TRUE;
}
If you want to learn more, check out http://www.mybringback.com
Hit us up on G+, facebook, or twitter!
http://www.facebook.com/mybringback
http://www.twitter.com/mybringback
http://www.todaysawesomesauce.com
-------------
Thanks to Nolan for the Intro Music!
Jake's G+ = http://goo.gl/Of4a0
Travis's G+ = http://goo.gl/xGz4q
iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt2
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 final project here: http://www.mybringback.com/tutorial-series/12443/ios-tutorial-uiwebview-uiactivityindicator-example-xcode/
- (void)webViewDidStartLoad:(UIWebView *)webView
{
[_activityIndicator startAnimating];
}
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
[_activityIndicator stopAnimating];
_activityIndicator.hidden = TRUE;
}
If you want to learn more, check out http://www.mybringback.com
Hit us up on G+, facebook, or twitter!
http://www.facebook.com/mybringback
http://www.twitter.com/mybringback
http://www.todaysawesomesauce.com
-------------
Thanks to Nolan for the Intro Music!
相关视频
iOS Tutorial - UIWebview - Activity Indicator Example (UIActivityIndicator) Xcode 4.5 pt1
mybringback
UICollectionView Tutorial Example in iOS 6 - Xcode 4.5 pt2
mybringback
iOS Custom Appearance - Background Color UIColor Tutorial Example in iOS 6 - Xcode 4.5
mybringback
iOS 6 Automatic Property Synthesizer Tutorial Xcode 4.5 Example
mybringback
UICollectionView Tutorial Example in iOS 6 - Xcode 4.5 pt1
mybringback
iOS 6 Tutorial Auto Layout pt2 - Constraints Xcode 4.5
mybringback
来自同一上传者
HTML and CSS Tutorial 5 : tables, rows, headers, caption, and basic CSS
29 次观看
HTML and CSS Tutorial 04 : images, hr, br
8 次观看
HTML and CSS Tutorials 3 : head, footer, titles, and link elements
46 次观看
HTML and CSS Tutorials 3 : head, footer, titles, and link elements
2 次观看
HTML and CSS Tutorials 2: HTML basics, doctype, body, head, and paragraphs
6 次观看
HTML and CSS Tutorials 1: Setting up the Development Environment
6 次观看