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
Labels:
exit,
suspend,
UIApplicationExitsOnSuspend
Tuesday, July 27, 2010
MPMoviePlayerController vagy MPMoviePlayerViewController
Oliver Drobnik: The 3.2 Hurdle of MPMoviePlayerController
John Muchow: Getting MPMoviePlayerController to Work with iOS4, 3.2 (iPad) and Earlier Versions of iPhone SDK
MPMoviePlayerController Class Reference
John Muchow: Getting MPMoviePlayerController to Work with iOS4, 3.2 (iPad) and Earlier Versions of iPhone SDK
MPMoviePlayerController Class Reference
- backgroundColor - Get the view from the backgroundView property and set its color directly.
- movieControlMode - Use the “Accessing Movie Properties” property instead.
- MPMovieControlMode - Use the “MPMovieControlStyle” constants in conjunction with the controlStyle property instead.
- MPMoviePlayerContentPreloadDidFinishNotification - Use the MPMoviePlayerLoadStateDidChangeNotification notification to determine the readiness of the player.
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.”
Labels:
iPad,
Landscape,
orientation,
portrait
Subscribe to:
Posts (Atom)