Programme I
After the Navigationcontroller is used, when the interface jumps back and forth, and sometimes there is a tableview move up, usually automatically up to 64 pixels, then we can turn off the TableView automatic adaptation layout.
Self.automaticallyadjustsscrollviewinsets = no;//default is yes
Scenario Two:
When the TableView overall move up, you can of course modify each View in Xcode and move them down by 20 pixels (status bar height) or 64 pixels (status bar + navigation bar height).
But Apple has apparently taken this into account, and they have provided a new edgesforextendedlayout for Viewcontroller in the IOS 7 SDK. If you set this property to Uirectedgenone, all child views of Viewcontroller will be adjusted automatically.
Currently, it is also applicable to different system version code changes when the situation occurs.
Self.edgesforextendedlayout = uirectedgenone;//Recommended
iOS development-Solution when encountering tableview overall move-up