Forum Archive

Fake orientation lock

scj643

Would it be possible to "Fake" oriontation by rotating the view so it faces the same direction it's set when presented.

scj643

Basically the content would when rotated rotate in the opisite direction

JonB

yes, you could use transforms inside layout... i had some code for detecting orientation in my RootView class https://github.com/jsbain/objc_hacks

you can also specify a single orientation in present, which is supposed to lock orientation.