jjzjj

estimatedSectionHeaderHeight

全部标签

ios - 为什么 estimatedSectionHeaderHeight 领先的应用程序在我的 iPad 之一中崩溃?

我的应用程序中需要可扩展列表,因此我使用了部分列表和主列表以及表格行和扩展列表。我预期的部分View高度约为160像素,但它是根据要显示的内容动态变化的。所以我把代码写成self.tblBeerJournal.sectionHeaderHeight=UITableViewAutomaticDimensionself.tblBeerJournal.estimatedSectionHeaderHeight=160self.tblBeerJournal.rowHeight=UITableViewAutomaticDimensionself.tblBeerJournal.estimatedRo