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

DennisBlah

macrumors 6502
Original poster
Dec 5, 2013
485
2
The Netherlands
Hi all,

Im having a problem with forcing orientations.
I do want some views to rotate. So in project all orientations are on.

In my viewcontrollers I return NO on shouldAutoRotate

And somewhere else I gotta look up for after my break.

In the Inspector of the viewcontroller I set orientation on portrait.

This works fine. It wont rotate when Im in the view.
However when I hold my phone on landscape and I go to this viewcontroller my view is ****ed up

Its about a view which I fill with small buttons based on height and width of screen.

It looks like that this orientation still is pushed through while the transition to the other view..

Anyone have any idea??
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.