Skip to content

Commit

Permalink
change way test app launches location status
Browse files Browse the repository at this point in the history
  • Loading branch information
jlipps committed Feb 26, 2014
1 parent f96f320 commit 849f07e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
Expand Up @@ -59,11 +59,11 @@ - (void)viewDidLoad
secondArg.returnKeyType = UIReturnKeyDone;
firstArg.delegate = self;
secondArg.delegate = self;
[NSTimer scheduledTimerWithTimeInterval:0.6
[NSTimer scheduledTimerWithTimeInterval:0.1
target:self
selector:@selector(logLocationAuthFromTimer:)
userInfo:nil
repeats:YES];
repeats:NO];
}

- (void)logLocationAuthFromTimer:(NSTimer *)timer
Expand All @@ -86,6 +86,7 @@ - (void)viewDidUnload
[self setFirstArg:nil];
[self setSecondArg:nil];
[self setAnswerLabel:nil];
[self setLocationStatus:nil];
[super viewDidUnload];
// Release any retained subviews of the main view.
// e.g. self.myOutlet = nil;
Expand Down
2 changes: 1 addition & 1 deletion sample-code/apps/TestApp/Test App 2/TA2AppDelegate.m
Expand Up @@ -50,7 +50,7 @@ - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(

self.myAddVC = [[MyViewControllerViewController alloc] init];
self.myAddVC.view.frame = self.window.bounds;
[self.window addSubview:self.myAddVC.view];
[self.window setRootViewController:self.myAddVC];

return YES;
}
Expand Down

0 comments on commit 849f07e

Please sign in to comment.