且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

从另一个ViewController获取项目的高度

更新时间: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