omz:forum

    • Register
    • Login
    • Search
    • Recent
    • Popular

    Welcome!

    This is the community forum for my apps Pythonista and Editorial.

    For individual support questions, you can also send an email. If you have a very short question or just want to say hello — I'm @olemoritz on Twitter.


    Fake orientation lock

    Pythonista
    2
    3
    1941
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • scj643
      scj643 last edited by

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

      1 Reply Last reply Reply Quote 0
      • scj643
        scj643 last edited by

        Basically the content would when rotated rotate in the opisite direction

        1 Reply Last reply Reply Quote 0
        • JonB
          JonB last edited by

          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.

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Powered by NodeBB Forums | Contributors