I have a tabbar application, the problem is that i need to call a method after a delay of viewDidLoad of the first view but it didn't work (the method is not called) i added the following sample
- (void)viewDidLoad
{
[super viewDidLoad];
[self performSelector:@selector(foo) withObject:nil afterDelay:1];
}
-(void)foo
{
NSLog(@"foo!");
}
the strange thing is that this work with all other tabs view but for some reason it didn't work with the first tab (UITableViewController) any idea??
Thanks