我的笔尖笔尖视图不同于模拟器
我的模拟器。我不明白为什么约束不起作用
我觉得代码没有影响,但是看到它下面:
func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if let headeView = Bundle.main.loadNibNamed("HeaderViewCell", owner: self, options: nil)?.first as? HeaderViewCell {
//headeView.categoryLabel.text = "FFF"
return headeView
}
return UIView()
}
我认为你提供的浏览器给一个有用的答案还不够,你能否详细说明一下?是否有任何代码可能影响视图的外观? –