Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- - (void)webViewDidStartLoad:(UIWebView *)linkWeb {
- UIActivityIndicatorView * activityIndicator = [[UIActivityIndicatorView alloc] initWithFrame:CGRectMake(0, 0, 20, 20)];
- [activityIndicator startAnimating];
- refreshActivity = [[UIBarButtonItem alloc] initWithCustomView:activityIndicator];
- [activityIndicator release];
- [refreshActivity release];
- }
- - (void)webViewDidFinishLoad:(UIWebView *)linkWeb {
- refreshActivity = [[UIBarButtonItem alloc] initWithBarButtonSystemItem:UIBarButtonSystemItemRefresh target:self action:@selector(reloadLink)];
- refreshActivity.style = UIBarButtonItemStylePlain;
- [refreshActivity release];
- }
Add Comment
Please, Sign In to add comment