Hey,
Upon creating a new window in IB, I now notice the little arrow in the top right corner allowing rotation to be simulated. It works great for some of my views, resizing my buttons for me and what not, but on others I need to change the size of a component when it is rotated to landscape (and obviously change it back when it's rotated to portrait).
I can't see any way to create state between the two orientations - changing a component in one orientation changes it in both... is there a way to give it state in IB so it knows which way up it is and how to display a component when it is that way up?
Also, how do I get this nice rotation simulation in an XIB containing only a view (no window)?
Cheers
Upon creating a new window in IB, I now notice the little arrow in the top right corner allowing rotation to be simulated. It works great for some of my views, resizing my buttons for me and what not, but on others I need to change the size of a component when it is rotated to landscape (and obviously change it back when it's rotated to portrait).
I can't see any way to create state between the two orientations - changing a component in one orientation changes it in both... is there a way to give it state in IB so it knows which way up it is and how to display a component when it is that way up?
Also, how do I get this nice rotation simulation in an XIB containing only a view (no window)?
Cheers