UITableView overlaps with NavigationBar in Storyboard Setting on first run
Posted
by
Evils
on Stack Overflow
See other posts from Stack Overflow
or by Evils
Published on 2014-05-31T19:42:42Z
Indexed on
2014/06/01
3:26 UTC
Read the original article
Hit count: 174
I know this seems to be a duplicate question which has been around here many many times, but believe me, I tried all iOS7 and earlier fixes which sets the Layout to a different Edge configuration without any change.
My Storyboard looks like this:
-> Navigation Controller -> Tab Bar Controller -> MyTableViewController -> VCForCellOne
With the first run of my application the UITableView overlaps with the source NavigationController as shown here:
After clicking on one of my Cells which pushes the corresponding ViewController to the NavigationController and going back again, everything looks fine as shown here:
So everything is as it should be after once pushing another ViewController to the NavigationController and then going back.
Switching from Portrait to Landscape and back also fixes the layout problem and everything is layed out as it should be.
My ViewController within the Storyboard looks like this: I left it the default value, so I don't know what goes wrong here.
I hope you understand my problem here. There's no custom class ViewController here, so no additional code which messes up something here. Any help highly appreciated!
© Stack Overflow or respective owner