gpt4 book ai didi

ios - swift : UITableViewCell Overlapping in debug view Hierarchy

转载 作者:搜寻专家 更新时间:2023-11-01 05:44:12 26 4
gpt4 key购买 nike

Cells Overlapping

我为 UITableViewCell 使用了自定义类。看起来不错
但调试 View 层次结构单元格与上图重叠。

func tableView(tableView: UITableView, cellForRowAtIndexPath indexPath: NSIndexPath) -> UITableViewCell {

let cell = tableView.dequeueReusableCellWithIdentifier(self.reuseIdentify, forIndexPath: indexPath) as! ContactViewCell
cell.lbContactName.text = self.dataSource[indexPath.row]

return cell

}

最佳答案

请检查自定义 UITableviewCell Clip Subviews 属性。

关于ios - swift : UITableViewCell Overlapping in debug view Hierarchy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/34194124/

26 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com