Why won't my UIActivityIndicatorView stop animating?
问题 I am trying to manage the activity indicator from my App Delegate, that way any of my views can put the indicator up. So, I am adding it as a subview to 'window' and start/stop as follows: - (void)didStartActivity { if( activityIndicator == nil ) { activityIndicator = [[UIActivityIndicatorView alloc] initWithActivityIndicatorStyle:UIActivityIndicatorViewStyleWhiteLarge]; activityIndicator.hidesWhenStopped = YES; activityIndicator.center = window.center; activityIndicator.transform =