Я анализирую данные json и присваиваю их в моей таблице view cell.where в первой строке ячейки tableview .im, назначая статические данные (зеленый текст) .if i прокручивает мой табличный вид назначенные данные в первой таблице вид клеток становится overlaped в моем 6 и 7 TableView cell.below является экран shotand code.could у ребят помочь мнеданные, которые перекрываются в ячейке tableview
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
{
static NSString *CellIdentifier = @"Cell";
UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:CellIdentifier];
if (cell == nil) {
cell = [[[UITableViewCell alloc] initWithStyle:UITableViewCellStyleValue1 reuseIdentifier:CellIdentifier] autorelease];
}
if(indexPath.row == 0)
{
[email protected]"Pollenprognosen";
cell.textLabel.textColor=[UIColor greenColor];
[email protected]"se dagens pollenprognos";
cell.detailTextLabel.font=[UIFont systemFontOfSize:([UIFont systemFontSize]-2)];
return cell;
}
else
{
cell.accessoryType=UITableViewCellAccessoryDisclosureIndicator;
cell.textLabel.text=[story objectAtIndex:indexPath.row];
return cell;
}
}
чувак, который полностью сработал ... спасибо тонну – kingston
Без проблем, рад помочь человеку SO: er. –
Чувак, я сталкиваюсь с той же проблемой наложения. Но на этот раз дело доходит до изображения. Я отправил его как отдельный вопрос, мог бы помочь мне – kingston