Showing posts with label Landscape. Show all posts
Showing posts with label Landscape. Show all posts

Wednesday, December 8, 2010

popViewController landscape modban fentrol lefele

Az volt a baj, hogy csak a UINavigatonController-ben adott vissza a shouldAutorotateToInterfaceOrientation YES-t. Igy ugyan a pushViewController-rel megnyitott ViewControllerek is forogtak, de ha azokorol visszaleptem (popViewControllerAnimated) landscape modban, akkor nem rendesen jobbra csuszott ki a ViewController, hanem fentrol lefele.

Az a megoldas, hogy nem eleg a UINavigationControlleren megadni a shouldAutorotateToInterfaceOrientation-t, hanem a tobbi ViewCotrolleren is meg kell ezt tenni. (Legalabbis azokon, amikre vissza fougunk lepni popViewControllerAnimated segitsegevel.)

Wednesday, July 14, 2010

Az iPad alkalmazasoknak portrait es landscape modban is mukodniuk kell

iPhone-nal ez nem volt eloiras, de itt mar igen:

New) An application’s interface should support all landscape and portrait orientations. This behavior differs slightly from the iPhone, where running in both portrait and landscape modes is not required. For more information, see “Designing for Multiple Orientations.”

Monday, February 22, 2010

The UIImagePickerController class supports portrait mode only.

Ahogy a dokumentacioban is all:

Important: The UIImagePickerController class supports portrait mode only. This class is intended to be used as-is and does not support subclassing. The view hierarchy for this class is private and must not be modified, with one exception. In iPhone OS 3.1 and later, you can assign a custom view to the cameraOverlayView property and use that view to present additional information or manage the interactions between the camera interface and your code.

Monday, November 30, 2009

John Muchow: UIAlertView and Landscape Mode

Itt van az egesz cikk, de a lenyeget idemasolom:

Show Alerts in Landscape Mode

To fix this, all you need to do is add the following line of code – I placed this in the applicationDidFinishLaunching method:

// Required so UIAlertView shows in the correct orientation in landscape mode

[application setStatusBarOrientation:

UIInterfaceOrientationLandscapeRight animated:NO];