test story
Submitted by alistair on Fri, 03/26/2010 - 23:00
test story
- (void) handleTimer: (NSTimer *) timer { AWS *aws = [AWS sharedAWS]; TabBarAppAppDelegate *appDelegate = (TabBarAppAppDelegate *)[[UIApplication sharedApplication] delegate]; [activity stopAnimating]; if (aws.integrityStatus == kIntegrityOK) { [appDelegate.window insertSubview:appDelegate.rootController.view atIndex:0]; } else { // UIView *errorView = [[UIView alloc] initWithNibName:@"ErrorView" bundle:[NSBundle mainBundle]]; ErrorViewController *errorController = [[ErrorViewController alloc] initWithNibName:@"ErrorView" bundle:nil]; [appDelegate.window insertSubview:errorController.view atIndex:0]; } [self.view removeFromSuperview]; }



