Fix the bug in iOS 7 that the navigation bar and tab bar will occupy the area of the view.