使用xib创建了一个简单的页面(就一个label和两个当做装饰的view),然后引入界面到指定位置,但是出问题的是,界面被应用到两种tableviewCell中,一种完全没问题,而另一种,界面的尺寸不论和xib还是代码设置均不相同,添加代码完全相同,[[[NSBundle mainBundle]loadNibNamed:@"MNTChannelView" owner:self options:nil]lastObject];获取到界面,然后设置frame。请问有人知道这是为什么吗
ringa_lee
The TableviewCell in question may not implement the following methods.
- (void)layoutSubviews { [super layoutSubviews]; }
Try the following solutions:
If you create a new XIB associated with UIView, select the XIB of Empty and do not select the XIB of View.
The TableviewCell in question may not implement the following methods.
Try the following solutions:
If you create a new XIB associated with UIView, select the XIB of Empty and do not select the XIB of View.