更新时间:2023-01-08 15:58:41
在awakeNib的代码中设置标签的大小。在你的viewDidload中,它不会被新实例调用。
PS:customCell是一个糟糕的类名
in your code in the awakeNib you set the size of the label. In your viewDidload it wont get called by the new instance.
PS: customCell is a bad class name