I am currently trying to put a UITableView in a different location rather than at the top of my view controller. With this said, it is trying to add the header
UITableView
Was having the same issue. I solved it by adding the following to viewDidLoad.
self.extendedLayoutIncludesOpaqueBars = true