This happened to me some time ago while inheriting from UITableViewCell. I don t know if this is your case or you are just using a standard UITableViewCell. I fixed it by overriding layoutSubviews and using the UITableViewCell s contentView as reference, here is a sample:
- (void)layoutSubviews {
[super layoutSubviews];
CGRect f = self.contentView.frame;
[name setFrame:CGRectMake(10, f.origin.y+5, f.size.width - 10 - 90, 20)];
[distance setFrame:CGRectMake(f.size.width - 80, f.origin.y+5, 80, 18)];
[address setFrame:CGRectMake(10, f.origin.y + 25, f.size.width - 10, 15)];
[extras setFrame:CGRectMake(10, f.origin.y + 41, f.size.width - 10, 15)];
}
hope it helps!