I have added a UIButton
in the header section of the UITableView
via the interface builder and would like to remove the access to the button in certain cases. I have tried to use the .hidden = TRUE
property but it just hides the button from the view, leaving a white space behind. How do I programmatically remove the header of UITableView
and have the table's content automatically resizes to fill in the removed header area?
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…