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 -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -