Home > DeveloperSection > Forums > UITableView scrolling under the navigation bar
Nigel Bunyan
Nigel Bunyan

Total Post:20

Points:140
Posted on    September-28-2015 12:24 AM

 iPhone iPhone  Ios  Objective C 
Ratings:


 1 Reply(s)
 373  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?



Tarun Kumar

Total Post:210

Points:1614
Posted on    September-29-2015 12:49 AM

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;

Don't want to miss updates? Please click the below button!

Follow MindStick