What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

Force an App into Landcape?

handyjohnson

iPF Noob
Joined
Oct 11, 2010
Messages
13
Reaction score
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.
 
Haven't come across anything myself...
Actually, my pet hate is any app that forces landscape! I'm a portrait kind of guy...
 
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.
 
Funny. My reason is the same. Moleskine digital folio case. Best in portrait! Hope you find something that works for you...
 
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:
DontUnderstandMyIpad said:
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'?

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:
grayshark95 said:
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.

Here is a pic
 

Attachments

  • image-975374871.png
    image-975374871.png
    312.4 KB · Views: 948

Most reactions

Latest posts

Back
Top