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]
精彩评论