Thursday, July 29, 2010

UIApplicationExitsOnSuspend

Ha az app-unk ugysem csinal semmit suspend modban es idegesit, hogy nem lehet egyszeruen kiloni, akkor az info.plist-hez ezt kell hozzaadni: UIApplicationExitsOnSuspend

Wednesday, July 14, 2010

UISplitViewController MasterView mutatasa portrait modban

A SplitView portrait modban automatikusan elrejti a MasterView-t es csak a DetailView-t mutatja, ahogy itt le is irjak:
"When the device is in a landscape orientation, the split view shows both panes. However, in portrait orientations, the split view displays only the second pane, which grows to fill the available space."

Egy nem dokumentalt (private) api hivassal ezt ki lehet kapcsolni:
[splitViewController setHidesMasterViewInPortrait:NO];

Csak igy valoszinuleg nem veszi be az App Store.

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.”