Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

storyboard: table view appearing behind navigation bar

Tags:

xcode

ios

As per the picture below, part of the TableView is appearing behind the Navigation Bar.

I had been ignoring it, thinking it was just the way the storyboard drew things because it looks ok in the app. But it can be problematic - sometimes, to select the cell behind the Navigation Bar, one needs to use the Document Outline.

Is that just how it goes? Or is there a way to get Xcode to draw things properly?

enter image description here

like image 505
ari gold Avatar asked Oct 02 '12 21:10

ari gold


1 Answers

It looks like you have selected a translucent navigation bar which will not push down other subviews. Try using the standard or black navigation bar. It probably looks fine in the app because your navigation controller using the non-translucent bar.

like image 69
Edwin Iskandar Avatar answered Oct 01 '22 06:10

Edwin Iskandar