The first issue seems to be somehow related to timing. I got it work with this:
- (void)viewDidAppear:(BOOL)animated {
[super viewDidAppear:animated];
[self performSelector:@selector(toTheSearchbar) withObject:self afterDelay:0];
}
- (void)toTheSearchbar {
[self.searchDisplayController setActive:YES];
[self.searchDisplayController.searchBar becomeFirstResponder];
}
Even a delay of 0 works fine, without it I get the white lines.
Jeena
2009-11-22 00:34:40