代码:
CGPoint centerPoint = [_inner_web_view center];
CGRect frame = CGRectMake(centerPoint.x, centerPoint.y, 100, 100);
_activity_indicator = [[UIActivityIndicatorView alloc]
initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhite];
[_activity_indicator setFrame:frame];
[_inner_web_view addSubview:_activity_indicator];
我需要的是在 UIWebView 上显示 ActivityIndicator。即使在使用 [_activity_indicator startAnimating] 之后也没有任何反应。:(
有人可以帮我找出为什么会这样吗?