I am currently making an app and am trying to get it to support both iOS6 and iOS7. My main view is a UITableViewController. When I scroll down, I hide the navigation bar. In iOS7 views start underneath navigation bars by default so hiding the navigation bar basically extends the table. But on iOS6 the table view starts below the navigation bar, so when it is hidden there is a white space where it used to be.
How can I make it so on ios6 the table also starts underneath the navigation bar?
I know that it would probably be easier to do this if my view was not a UITableView, but I already set it up that way and am also using its UIRefreshControl functionality.