Iphone 选中行时,不会显示下一个UIView

Iphone 选中行时,不会显示下一个UIView,iphone,Iphone,我的下一个视图不显示&因为我使用imageview和scrollview。我的代码是这样的 -(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath { VolunteerPhotoDetail *volunteerPhotoDetail = [[VolunteerPhotoDetail alloc]initWithNibName:@"VolunteerPhoto

我的下一个视图不显示&因为我使用imageview和scrollview。我的代码是这样的

-(void) tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
{
    VolunteerPhotoDetail *volunteerPhotoDetail = [[VolunteerPhotoDetail alloc]initWithNibName:@"VolunteerPhotoDetail" bundle:nil];
    volunteerPhotoDetail.indexRow = indexPath.row;
    [self.navigationController pushViewController:volunteerPhotoDetail animated:YES];
    NSLog(@" self.navigationController  0x%x", self.navigationController);
    [volunteerPhotoDetail release];
}
nslog显示selg.navigationController的值,但不显示视图
我正确地检查了所有IB连接,所以请给我答案,问题可能是因为您将捆绑设置为零。
将nil替换为
[NSBundle mainBundle]

您可以发布一些志愿者PhotoDetail类的代码吗?Lee。。你的问题标题很差。。请做好标题???我回答的不是我的问题。