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

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -