I have a table. Table has 1 simple custom cell. There is only label in this cell. Here is code of cellForRow function:
MyCell *cell = [tableView dequeueReusableCellWithIdentifier:@"Cell" forIndexPath:indexPath];
cell.myLabel.text = [NSString stringWithFormat:@"%ld", (long)indexPath.row];
cell.myLabel.frame = CGRectOffset(cell.myLabel.frame, 0, -20);
cell.myLabel.backgroundColor = [UIColor redColor];
return cell;
Everything works fine except this:
cell.myLabel.frame = CGRectOffset(cell.myLabel.frame, 0, -20);
Label don't want to move! I found this problem in iOS8.
Anybody help please :)