Cell的一些坑: UITableViewCell宽度,在iphone5的时候是320,在iphone6的时候为啥也是320?

在自定制cell'的.m文件里重写setframe方法就可以了
- (void)setFrame:(CGRect)frame
{
    frame.size.width = [UIScreen mainScreen].bounds.size.width;
    [super setFrame:frame];
}

原文地址:https://www.cnblogs.com/lrr0618/p/5530165.html