networkActivityIndicatorVisible on iOS 4
- by user365660
Hi,
I just downloaded xcode 3.2.3 (seperate directory installation) and ios 4 to my iphone.
I'm having a problem with networkActivityIndicatorVisible.
This works on 3.1.3, both phone and simulator. My code is
(void)viewWillAppear:(BOOL)animated {
[super viewWillAppear:animated];
UIApplication* app2 = [UIApplication sharedApplication];
app2.networkActivityIndicatorVisible = YES;
[self loadSources]; // Loads data in table view
app2.networkActivityIndicatorVisible = NO;
}
I get the same effect in the simulator and on the phone both with ios 4.o
The networkActivity indicator becomes visible for a fraction of a second and then invisible and this is done after loading the data for the tableView.
Has something changed with this?
Teo