I've created MyViewController
in separate xib and pushed it to navigation stack. It is loaded properly and resizing, but hides below the displayed navigation bar (green button hidden):
In the xib I've set all options of top bar to inferred:
How can I solve it? Of course I can manually add spacing in the xib, but it's just not the right way.
EDIT: In xib's attributes I don't see extend under Top Bar tick, since in xib I have created UIView with file owner set to MyViewController.