How to prevent subview from overlapping tab bar?
问题 I have a view with tab bar at the bottom. This view is pushed on a navigation controller, so there is also a navigation bar at the top. Unto this view, I would like to show a table view, which I create from its own nib. When I add this view as a subview, it overlaps the tab bar. Is there a way to make this subview automatically resize to the free space in between the top and bottom bar? If not, what is the 'right' way of adjusting its size to fit? -Vegar 回答1: In the interface builder make