ios - Setting the frame of an UIView does not work -


i have problem frame-property in ios 7. wanna resize uiviews in viewdidload-method of uiviewcontroller, if int screenheight = [[uiscreen mainscreen] bounds].size.height; [self.leftsidetableview setframe: cgrectmake(0, 0, 320, screenheight)]; height set want till end of method, in every other method has been before!

what's wrong or bug of compiler or else?

one has put view resizing -viewdidlayoutsubviews:! (documentation)

placing view frame changes -viewwillappear: or -viewdidload: not work, because views not laying out yet!


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

jquery - Fancybox - apply a function to several elements -

An easy way to program an Android keyboard layout app -