Live data from Hacker News

IPhone Developers: We use our iPhones in bed, allow us to disable landscape

news.ycombinator.com

41–50 of 55 posts

Re: IPhone Developers: We use our iPhones in bed, allow us to disable landscape

#41
It shouldn't be app-specific. It should be core functionality. Perhaps a gesture, like, if you put 2 fingers on the screen (one at the top, one at the bottom) and rotate them to correctly orient the content, then the Phone should take that as an order to change the orientation from portrait to landscape, or vice-versa... Possibly also add a "lock orientation" icon just to the right of the clock at the top centre of the display so you can lay down, gesture to change orientation, and then lock it.

Re: IPhone Developers: We use our iPhones in bed, allow us to disable landscape

#42
Erm... You can get around this in Safari by orienting your phone so that the Home button is towards your ceiling. The reason this works is because Safari only has three rotations (normal, landscape 90deg left, and landscape 90deg right). Since it never flips upside-down, just keep your phone oriented so that the home button is towards the ceiling.

Edit: Oh snaps, apparently apps besides Safari will actually flip entirely upside-down! Wow, that's annoying. Seems like a bug in their app, though. Safari got it perfect.

Re: IPhone Developers: We use our iPhones in bed, allow us to disable landscape

#44
This is something that Apple could totally provide at a global level. Subclasses of the UIViewController can override the willRotateToInterfaceOrientation:duration: method to define how they want to handle rotation events. Apple could modify the UIViewController's default behavior to not send rotation messages if a global "don't rotate" setting is set to true.

Re: IPhone Developers: We use our iPhones in bed, allow us to disable landscape

#45
post #18

Safari fix: You'll find that Safari Mobile will never rotate so that it is fully upside down. So, tilt your mobile to the desired landscape mode, then tilt the phone upside down (so that the home button is up and the ear piece is down). Tada: landscape bed reading mode! (I'm still on OS2, but I expect this to be the same in 3.)

Good tip... now if only there was a trick for portrait mode.

Re: IPhone Developers: We use our iPhones in bed, allow us to disable landscape

#47
post #27

I completely agree with you and it frustrates me to no end. But I'd be willing to bet money Apple has probably seen the feedback and they decided this is whats best for you. Sometimes the things you'd think would be the most obvious in an apple product are the least likely to be implemented. For instance, I have no way of turning off my monitor on my imac, I have to set the screensaver idle time really really low. It…

CTRL-SHIFT-EJECT should do the trick on your iMac :)

Re: IPhone Developers: We use our iPhones in bed, allow us to disable landscape

#48
post #25

Why should every developer have to implement this. Apple should make it a system-wide setting.

Because that system wide setting would break a ton of apps (think about games that only use landscape for example). I mean, I'd personally be fine with this, but I don't think it's as easy as that.

I'm using Rotation Inhibitor on a jailbroken 3GS and it doesn't break anything at all.
Post reply on HN