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
Post a Comment