PushViewController: - how to display in portait only mode, when device is in lansdcape mode?

In your second view controller, replace your code with.

In your second view controller, replace your code with ... return UIInterfaceOrientationIsPortrait( interfaceOrientation ).

That's just a macro that ends up running the same code I already have. However, just for fun I tried it anyway... And I receive the same results. My second view loads in landscape mode, not portrait... – bpatrick100 Feb 16 at 17:17 Yes, but it also handles PortraitUpsideDown for you.

– Chiefly Izzy Feb 16 at 17:36 And the reason for non functional rotation is that the shouldAutorotate... is called only upon physical device rotation. You should check this question - stackoverflow. Com/questions/2922919/… – Chiefly Izzy Feb 16 at 17:37 Thanks for the link.

I guess the moral to the story is the sdk doesn't play well with navigationcontroller based apps who's views have mixed orientations. The link does go into a tricky work-around that might suffice. However, now I'm just thinking I will go all portrait, or all portrait/landscape.

Mixing it is quite a headache, I can see. – bpatrick100 Feb 16 at 22:27.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions