1. Due to the recent site upgrade, the iPadForums (iPF) App will no longer work. The new iPadForums.net website has been designed from the ground up to work perfectly from any mobile, tablet, or desktop computer using the built in internet browser. Create a shortcut to iPadForums.net on your home screen by following these steps: Create an icon for iPadForums.net

Force an App into Landcape?

Discussion in 'iPad Hacking' started by handyjohnson, Apr 14, 2011.

  1. handyjohnson
    Offline

    handyjohnson iPF Novice

    Joined:
    Oct 11, 2010
    Messages:
    13
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    Did a bit of searching for this but, if it's here, didn't get the right combination of terminology.

    There are a few apps that I use regularly that only run in portrait mode (grooveshark for instance) that I'd love to force into landscape even if meant having to "letterbox" the app with bars on the left on the right. Like an SBsettings toggle or something.

    It seems like it could be pretty functional. Swiping in the black bars on the left or right moved the entire app up and down. Swipe in the app itself and it behaves as normal.

    Has anyone run into something similar? I've searched cydia for "force landscape" - "landscape" and orientation but not seen anything similar.
  2. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,107
    Thanks Received:
    630
    Trophy Points:
    113
    Location:
    Troon, Scotland
    Ratings:
    +630 / 0
    Haven't come across anything myself...
    Actually, my pet hate is any app that forces landscape! I'm a portrait kind of guy...
  3. handyjohnson
    Offline

    handyjohnson iPF Novice

    Joined:
    Oct 11, 2010
    Messages:
    13
    Thanks Received:
    0
    Trophy Points:
    0
    Ratings:
    +0 / 0
    I've got a case that only displays landscape when it's open on my desk, but I understand.

    Really an app like I'm describing could force either portrait into a landscape screen or vice versa so it could be useful to users of both persuasions, yours and mine.
  4. f4780y
    Offline

    f4780y Super Moderator Staff Member

    Joined:
    Sep 11, 2010
    Messages:
    7,107
    Thanks Received:
    630
    Trophy Points:
    113
    Location:
    Troon, Scotland
    Ratings:
    +630 / 0
    Funny. My reason is the same. Moleskine digital folio case. Best in portrait! Hope you find something that works for you...
  5. young blade
    Offline

    young blade iPF Novice

    Joined:
    Aug 20, 2010
    Messages:
    35
    Thanks Received:
    0
    Trophy Points:
    0
    Location:
    The Netherlands
    Ratings:
    +0 / 0
    I'm looking for a tweak that keeps the springboard in portrait..
    I'f anyone comes across anything let me know.. ;)
  6. DontUnderstandMyIpad
    Offline

    DontUnderstandMyIpad iPad Guru

    Joined:
    Jan 22, 2011
    Messages:
    3,196
    Thanks Received:
    12
    Trophy Points:
    0
    Location:
    Outside my iPad, or was it inside?
    Ratings:
    +12 / 0
    Not sure, how one would approach this situation.

    So far, I had no luck forcing a certain orientation. I thought it might be enough to edit info.plist by adding the following:
    <key>UIInterfaceOrientation</key>
    <string>UIInterfaceOrientationLandscapeRight</string>
    and then adjust
    <key>UISuportedInterfaceOrientations<\key>
    <array>
    <string>...<\string>

    However, the app still starts in Portrait mode. It looks, as if there is some other trigger involved. Removing the portrait orientations under the Orientations array doesn't have any effect either.

    By doing the above does the app start always in Portrait mode, and it even turns the top bar, but it doesn't stay in that orientation for long. After a second or so, does it auto orient again.

    Are there other files, beside the plist which are involved in the orientation?

    Does anyone know, how to use 'shouldAutorotateToInterfaceOrientation'?
    Last edited: Apr 15, 2011
  7. graywolf
    Offline

    graywolf iPad Super Guru

    Joined:
    Aug 22, 2010
    Messages:
    3,655
    Thanks Received:
    35
    Trophy Points:
    0
    Location:
    Raleigh, NC USA
    Ratings:
    +35 / 0
    The app has to have an interface for landscape. So if you look at the pics in the app folder you can see one called "default-portrait" or something to that effect. So the iPad won't rotate if it doesn't have a UI to use in landscape. Also the app itself has to have landscape functionality.
    Last edited: Apr 18, 2011
  8. graywolf
    Offline

    graywolf iPad Super Guru

    Joined:
    Aug 22, 2010
    Messages:
    3,655
    Thanks Received:
    35
    Trophy Points:
    0
    Location:
    Raleigh, NC USA
    Ratings:
    +35 / 0
    Here is a pic

    Attached Files:

Share This Page

Search tags for this page
cydia force apps to rotate ioad
,

cydia force landscape

,
cydia force rotation
,
cydia rotate any app
,
force apps to portrait cydia
,
force horizontal html code ipad
,
force ipad app landscape
,
force ipad app start in landscape
,
force ipad rotation on tv
,
force iphone screen rotation
,

force landscape cydia

,
force landscape jailbreak
,
force rotate app -android
,
force rotation cydia
,
force screen rotation on ipad
,
how to force landscape cydia
,
ios force rotation in code
,
ipad force landscape
,
ipad force portrait
,
jailbreak force landscape