在视图中确实加载了我有这个段:
UIActivityIndicatorView *spinner = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActionSheetStyleBlackTranslucent];
[self.view addSubview:spinner];
[spinner startAnimating];
哪个工作正常,
然而更进一步:webViewDidFinishLoad
我有:
- (void)webViewDidFinishLoad:(UIWebView *)webView
{
[UIApplication sharedApplication].networkActivityIndicatorVisible = NO;
[spinner stopAnimating];
}
并且微调器的范围已经丢失。我还没有将微调器作为出口或属性/合成 - 仍在掌握它。我认为一旦我掌握了范围,它应该使 obj-c 能力更好!