landscape

How do I make an HTML page print in landscape when the user selects 'print'?

We generate web pages that should always be printed in landscape mode. Web browser print dialogs default to portrait, so for every print job the user has to manually select landscape. It's minor, but would be nice for the user if we can remove this unnecessary step. Thanks in advance to all respondents. ...

What XNA based 3D terrain and physics libraries exist?

I'm planning on creating a game that contains a landscape with objects on it. The landscape will be defined using a heightfield, and the objects will move about on top of, and fly over the terrain. If you've ever played the old games Marble Madness and Virus/Zarch, that's the kind of complexity and style I'm trying to create. I've seen ...

How do I develop for both Portrait and Landscape display formats?

I'm currently developing for a handheld device running Windows XP Professional (not Tablet PC edition). The device allows users to switch from the standard widescreen landscape display format to a portrait one. I would like to know if there are any VB.NET code snippets to help me along with this task. ...

iPhone Landscape-Only Utility-Template Application

I'm trying to create an iPhone application that is always in landscape mode, using the Utility application template. Here's what I did: Create a new iPhone application project, using the Utility Application template In Interface Builder, rotate all the views 90 degrees. In Interface Builder, add a label to the middle of the MainView. ...

UIPicker sizing in landscape mode

I am trying to develop an app with a UIPicker in landscape mode, taking up (almost) the entire width of the screen (with 5 or 6 components). Can you please tell me how to set the size of UIPicker. Thank you very much for your help. ...

Filling width in (iPhone) UIWebView landscape orientation?

I'm using a UIWebView with text in it. When the iPhone is rotated to landscape, text doesn't fill the now wider UIWebView width. I'm using P (paragraph) tags, which should not affect content filling landscape's width. The line breaks that are visible in portrait remain the same in landscape. In Interface Builder, I haven't changed an...

Force iPhone web app to landscape mode

How do you force an iPhone web app (not a native app) into landscape mode? ...

iPhone landscape-only app view axis confusion

Using the information here: iPhone Landscape-Only Utility-Template Application I am able to launch, use and maintain my view as landscape only. However, I am confused about the axis. The absolute axis behaves as expected, meaning (0,0) is the top left, (240,0) is the top center, (0,320) is the bottom left corner, etc. However, when I ...

tabBarController and navigationControllers in landscape mode, episode II

I have a UITabBarController, and each tab handles a different UIViewController that pushes on the stack new controllers as needed. In two of these tabs I need, when a specific controller is reached, the ability to rotate the iPhone and visualize a view in landscape mode. After struggling a lot I have found that it is mandatory subclassin...

Why is my toolbar not visible when in landscape mode?

My aim was to get the application functioning in both landscape and portrait mode, and all I could figure out to do it was this code below. The app was working fine in portrait, but when switched to landscape, the text wouldn't expand (to the right) to fill up the additional space. I made sure my springs/struts where set, and that the pa...

Iphone Landscape mode switching to Portraite mode on loading new controller

My app launches in landscape mode correctly and works great: - (BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { if(interfaceOrientation == UIInterfaceOrientationPortrait) return NO; if(interfaceOrientation == UIInterfaceOrientationLandscapeRight || interfaceOrientation == UIIn...

fill UIView with large sized text on the iPhone in Landscape

Hi, I have put my iPhone app in landscape mode and I want to put a message in one of my views that fills the screen. As of now a 6, 10 or 12 character message only goes up to about 12 point font in portrait view in interface builder. When I build and the iPhone simulator switches to landscape the font size stays the same as in portrait...

Portrait UITabBarController on one view, Landscape view on another UIView, not working.

Hello guys, and heres the deal. Im trying to get a few of my views to play nicely together, but unfortunately i must be missing something. heres the over view i have Application Delegate UIViewController containing a tabbarcontroller UiViewController containing an OpenGL view (needs to be landscape) The application Delgate handles ...

Weird landscape UITabBarController Application startup

Hi there. My application is quite simple, but I have some problems when it starts. I setted in the Info.plist to be landscaped, but it seems to ignore the order. In fact, when the app is loading the Simulator is landscaped, but then it returns in portrait mode. This is the hierarchy of the views and controllers: MainViewController (ex...

Restrict images in scroll view to stretch when iPhone moved to landscape orientation

I have imageViews as content for in the UIScrollView. If a user is viewing a potrait picture (320x480) and moves the iPhone in landscape orientation - the image stretches to occupy full screen. I want to restrict the image to stretch. I want a functionality similar to the photos app where image is scaled down and shows black strips in le...

iPhone camera can't open from landscape application

hi all I am creating a landscape only application using sdk 3.0 that uses mapkit. I need to use iphone camera in my application. But I am getting following warning when I try to open camera. "Can't perform full-screen transition. The fromViewController's view must be within a view that occupies the full screen." The view from which I ...

My Iphone App crashes (Bad access) when turned on it's side (landscape mode).

For some reason, every time I run my Iphone App, the App works fine as long as it is upright. The second the simulator turns to the left or right (like if I manually turn it, or if it's trying to play a video), the code crashes, with either a "Bad Access" or an exception. The crazy thing is that this stuff was JUST working, and I didn't...

What are some of the possible causes of a UIView rarely not being rotated when revisited?

I put this code into all of my viewControllers: UIInterfaceOrientation orientation = [[UIApplication sharedApplication] statusBarOrientation]; if (orientation == UIInterfaceOrientationLandscapeRight) { CGAffineTransform transform = self.view.transform; // Use the status bar frame to determine the center point of the window's con...

resizing content UITableviewcell in landscape

Hi i`m developing a app in iphone sdk and i want to resize the content of my tableviewcell when the device is in landscape mode. In my tableviewcell i have an synchronous image and two labels, in portrait mode i looks awesome very nice, but when i turn the device in landscape the content of my tableview doesn`t resize. There is someone...

Landscape orientation for UITabBarController?

The UITabBarController does not allow landscape orientation. So I used a subclass of UITabBarContoller (called RotatingTabBarController). Its sole purpose it to allow rotation by returning YES to shouldAutorotateToInterfaceOrientation call. The problem is that when you rotate the iPhone in simulator it gives the following malloc error. ...