UITableView scrolling under the navigation bar

Total Post:20

 1143  View(s)
Rate this:

I was creating a table view when it being flickered up, has its sections that flush up against right underneath the status bar, instead of flushing against the the navigation bar.

Is that the proper behaviour or not I am not sure, but mostly applications have the Section Title flush properly below the navigation bar when it's slid into view.

Please tell me the right way to correct this instead of downsizing the tableView arbitrarily?

  1. Post:214

    Re: UITableView scrolling under the navigation bar

    I also faced similar as your problem and I fix it using the code below, when you use this code problem will corrects itself:

    self.navigationCOntroller.navigationBar.barStyle = UIBarStyleBlackTranslucent;