ios - Tableview hidden under navigation bar (but only for one tab) -


i using xcode 5 storyboard , auto layout. views are:

  • root navigation view
  • tab view controller (its default view navigation view)
  • two tab views

in both tab views, put uitableview on it, , set standard ib stuff. both tab view controllers identical in code in terms of setup (they both derive uiviewcontroller).

for tableview however, things weird. first table view has right setting, cells start "below navigation" , can scroll up. second table view starts cells "under navigation" - seems insets wrong.

but why wrong second tab view, , not first? did not funky either, , i've pored on code multiple times sure both tableview controllers identical (except in cell contents).

(on second image, notice bit of green under "carrier" status bar).

first tab view - looks right

second tab view - looks wrong

i faced same problem once.

try toggling "under top bars" in view controller's attributes inspector.

this worked me. hope too. thanks.


Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

thorough guide for profiling racket code -