For iPhone, I have a UITableView that is grouped, has one section, and in which I set up the section title, which is a UILabel object from nib. When a table view is displayed, the title is displayed as a solid black bar - no text.
In heightForHeaderInSection, I set the height as frame.size.height of a UILabel object. When I change the height in IB, the height of the black bar changes. Therefore, I know that the .m file is fixed to the right of the UILabel object.
In the debugger, in viewForHeaderInSection, it seems that the width of the UILabel is zero and the height is 1079574528 and the text is zero.
Any thoughts on what I'm doing wrong?
source
share