У меня странная проблема с загрузкой изображения в UITableViewCell во время:
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
вот мой код:
UIImageView *title = [[[UIImageView alloc] initWithFrame:CGRectMake(0,10,300,150)] autorelease];
title.image = [UIImage imageNamed:@"featured_graphic.png" ];
title.contentMode = UIViewContentModeScaleAspectFill;
title.alpha = 1.0;
cell.selectionStyle = UITableViewCellSelectionStyleNone;
внутри:
if( [indexPath isEqual:[NSIndexPath indexPathForRow:0 inSection:0]] )
{
}
Я подтвердил, что featured_graphic.png находится в моем приложении.