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

Didier Guillion

macrumors newbie
Original poster
Aug 13, 2008
3
0
Hi,

Apparently, when a UIViewController is created from Nib the current iPhone orientation is not taken into account.

I create the view, I rotate the IPhone, it is Ok.
I rotate the IPhone,I create the view the view is not rotated, partially hidden.

I am working with the iPhone Simulator.

Did somebody already encounter this ?
Is there a trick ?

Best regards
 

slking

macrumors newbie
Aug 15, 2008
3
0
Me too have same problem. Did you ever get an answer?. So did you solve it yourself? Please let me know what did you do? Thanks
 

Didier Guillion

macrumors newbie
Original poster
Aug 13, 2008
3
0
Sorry, I forgotten to post the answer.

After creating my subview I didn't added it to the main view using addView.
So, the rotation event, applied to the main view, was not send to the hidden subview.

Best regards
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.