开发者

Next UIView is not being shown when row is selected

my next View is not displayed & in that i use imageview & scrollview. My code look like this

-(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 display value of the selg.navigationController but view is not displayed I check all the IB conncetion properly so please give me answer


Problem could be because you set your bundle to nil. Replace nil by [NSBundle mainBundle]

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜