Custom UITableView headerView disappears after memory warning
- by psychotik
I have a UITableViewController. I create a custom headerView for it's tableView in the loadView method like so:
(void)loadView {
[super loadView];
UIView* containerView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, width, height * 2 )];
containerView.tag = 'cont';
containerView.autoresizingMask =…