Hi all, Can someone tell me why the following code doesn't work?
- (void) showInfo { FlipsideViewController *controller = [[FlipsideViewController alloc] initWithNibName:@"FlipsideView" bundle:nil]; controller.delegate = self; NSUInteger indexes[2] = {0,3}; NSIndexPath * indexPath = [[NSIndexPath alloc] initWithIndexes:indexes length:2]; [controller.unitTableView selectRowAtIndexPath:indexPath animated:YES scrollPosition:UITableViewScrollPositionNone]; UINavigationController *navController = [[UINavigationController alloc] initWithRootViewController:controller]; [controller release]; navController.modalTransitionStyle = UIModalTransitionStyleFlipHorizontal; [self presentModalViewController:navController animated:YES]; [navController release]; } The unitTableView is part of the FlipsideViewController and it is created in the first line. Everything is fine, but the row is not selected. What am I missing??? Thank you all, aa_______________________________________________ Cocoa-dev mailing list (Cocoa-dev@lists.apple.com) Please do not post admin requests or moderator comments to the list. Contact the moderators at cocoa-dev-admins(at)lists.apple.com Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com