Is it possible to have a fixed uitableview Header while using sections?

If you want a UITableViewController (static cells/keyboard handling) and have a fixed header then you should use Containment. You can do this from a Storyboard by setting up a UIViewController with your fixed header and then using a Container View to embed the UITableViewController.

Storyboard object for Container View

Once you have your containing view setup, you right-click drag from the Container View to the View Controller you want to embed – the UITableViewController in this case.

enter image description here

You can access and get a reference to the contained View Controller (the UITableViewController) from the Container View Controller by implementing the prepareForSegue:sender: method.

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)