@class NSURL;
@class NSURLRequest;
-@class UIProgressIndicator;
@class UIScroller;
@class UIDocumentWebView;
_transient CYWebView *webview_;
_transient UIScrollView *scroller_;
- UIProgressIndicator *indicator_;
+ UIActivityIndicatorView *indicator_;
IndirectDelegate *indirect_;
NSURLAuthenticationChallenge *challenge_;
action:@selector(reloadButtonClicked)
];
- CGSize indsize = [UIProgressIndicator defaultSizeForStyle:UIProgressIndicatorStyleMediumWhite];
- indicator_ = [[UIProgressIndicator alloc] initWithFrame:CGRectMake(15, 5, indsize.width, indsize.height)];
- [indicator_ setStyle:UIProgressIndicatorStyleMediumWhite];
- [indicator_ startAnimation];
+ indicator_ = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
+ [indicator_ setFrame:CGRectMake(15, 5, [indicator_ frame].size.width, [indicator_ frame].size.height)];
+ [indicator_ startAnimating];
[[loadingitem_ view] addSubview:indicator_];
[webview_ setAutoresizingMask:(UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight)];