When I initially load my view, there is a spinner and the "Loading ..." label displayed . However, after loading my data, spinners and labels appear on the screen for a good 2 seconds. I did some debugging and my method was called before hiding these elements and it is being done and it seems that there is a gap.
Method:
- (zero) is loadingData: (BOOL) flag {NSLog (@ "here% d", flag); If (flag) {[spinner start-up]; } Other {[spinner stop animation]; } [Loading Data SetHind:! Flag]; NSLog (@ "done"); }
Ivor:
IBOutlet UILabel * loadingData; IBOutlet UIActivityIndicatorView * spinner;
I have not changed anything with this code except updating the app from 3.0 SDK to 4.1 SDK. The strange thing is that with 3.1.3 on my test device, I have no problem. But 4.0+ simulator and device interval.
Looks like SDK, but I do not want to jump the gun. Any help would be appreciated.
Comments
Post a Comment