Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

erdinc27

macrumors regular
Original poster
Jul 20, 2011
168
1
I have a universal app. I try to change the frames of two views when orientation changed. They stay next to each other in landscape and then one is up another down when the orientation is changed to portrait. I achieved it in iPhone but in iPad, it doesn' t change. Is it because iPad is wRegular and hRegular in both orientations? And if not how can i manage it in portrait orientation ?
 
Look at viewWillTransitionToSize or willTransitionToTraitCollection. These are called for rotations and you can animate your change along with the rotation.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.