ios - My UITableView Gets ShiftedDown -
i have uitableview when first displayed displays correctly first row appearing on top. when select cell uitableview presented. if used button on uinavigation bar original uitableview shifted down blank space between uinavigation bar , uitableview.
i not using story boards. using xib files. using sliding menu got code ray wenderlich's web site.
when slide main screen on first uitableview goes proper position. when select entry again issue described above appears.
i found post seems provide answer issue. post says make adjustments translucent settings or auto-layout settings doesn't give specifics.
here post: container view getting pushed down if had uinavigationbar?
thanks, glenn
add
self.automaticallyadjustsscrollviewinsets = no;
in viewdidload
, of uiviewcontroller
have shifting table view
Comments
Post a Comment