マイペン先ペン先のビューは、シミュレータ
私のシミュレータとは異なります。おそらく、あなたがロードされたビューにlayoutIfNeeded()
を呼び出す必要が
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()
}
私は、視聴者に有用な回答を提供するために何を提供しているのか十分にはっきりしていないと思いますか?ビューの外観に影響を与える可能性のあるコードはありますか? –