2011-04-15 31 views
0

我的下一個視圖不顯示&在我使用imageview &滾動視圖。我的代碼看起來像selg.navigationController這Next UIView沒有被顯示,當選擇行時

-(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顯示值,但鑑於沒有顯示 我檢查所有的IB conncetion正常,所以請給我解答

+0

你可以發佈一些VolunteerPhotoDetail類的代碼? – 2011-04-15 06:41:17

+0

李..你的問題標題真的很差..請製作好標題 – 2011-04-15 06:50:26

+0

???不是我的問題,我是在回答。 – 2011-04-17 07:25:35

回答

0

問題可能是因爲你設置你的包到零。 取代零由[NSBundle mainBundle]

相關問題