Skip to content
This repository was archived by the owner on Sep 11, 2018. It is now read-only.
This repository was archived by the owner on Sep 11, 2018. It is now read-only.

App autorotates all upside down. #17

Description

This is a UI issue which applies only to the iPhone and iPod touch.

When lying in my bed sideways browsing Reddit, I want to hold the device upside down so I can read easily. The problem is that the app rotates all upside down. Many apps don't do this, and none of the default iPhone apps do this so it's pretty inconsistent.

Could this please be fixed? It would make the app so much more usable.

Here is the fix (should be in every view controller):

- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
  return interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown || UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad;
}

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions