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

App autorotates all upside down. #17

Open
ghost opened this issue Jan 22, 2012 · 0 comments
Open

App autorotates all upside down. #17

ghost opened this issue Jan 22, 2012 · 0 comments

Comments

@ghost
Copy link

ghost commented Jan 22, 2012

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;
}
@ghost ghost closed this as completed Feb 4, 2012
@ghost ghost reopened this Feb 4, 2012
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

0 participants