iphone - Problem UIview size after re-orientation -
first,i sorry poor english...
so, have problem view added on other one. setting size of uiview in ib 200px/200px set center of view center of parent view. working great @ point. can see view in center of parent view want.
then set - (bool)shouldautorotatetointerfaceorientation:(uiinterfaceorientation)interfaceorientation
, that's working to.
but when rotate iphone, size of view change full size, view don't want stay in center , go on top left of screen , resize fullscreen...
can me problem ? have set frame , center after rotate ? can't automatic ?
thank you!
in ib, under "autosizing" section, remove "arrow" indicates auto width/height of component.
Comments
Post a Comment