iphone - Increase height of UIView above UITableView -
i added uiview above uitableview via storyboard. wondering if there way increase height of uiview programmatically , push down table cells. uitableview static table.
i'm using code:
cgrect newframe = myuiview.frame; newframe.size.height = 300; myuiview.frame = newframe;
with code, uiview height increasing, overlapping table cells below it. there way "push" tableview lower?
thanks!
since using storyboard, easiest , cleanest way change size of uitableview
, move down make room uiview
. can move/change uiview
whatever size want.
non-storyboard solution. change frame of uitableview also.
self.tableview.frame = cgrectmake(x,y,height,width);
Comments
Post a Comment