DetailView not loading in SplitViewController?

Specially in iOS 4.2 I believe that is a bug. I have found a work-around and wrote it here.

Up vote 0 down vote favorite share g+ share fb share tw.

I managed using a SplitViewController in a TabBarApplication. The problem now is, trying to start the Application (the SplitViewController is the first View in my TabbarApp) in Landscape mode the Detail View gets not loaded. Starting it in Portrait works fine, also after pushing my iPad to Landscape after starting in Portrait.

Here 2 Links: Starting in Portrait, switching to Landscape Starting in Landscape i've modified the willShowViewController method, because I couln't even start it in landscape - (void)splitViewController: (UISplitViewController*)svc willShowViewController:(UIViewController *)aViewController invalidatingBarButtonItem:(UIBarButtonItem *)barButtonItem { NSMutableArray *items = toolbar items mutableCopy; //XLog("second: %i",items count); if(items count > 0) { items removeObjectAtIndex:0; toolbar setItems:items animated:YES; } items release; self. PopoverController = nil; } the if query prevents my app from crashing in landscape. I have no idea why my detailviewcontroller doesn't show up and my rootviewcontroller of the splitview shows up over the complete width.

Any ideas? Thanks! Iphone objective-c ipad ios uisplitviewcontroller link|improve this question asked Nov 6 '10 at 17:21choise1,83811643 98% accept rate.

Specially in iOS 4.2 I believe that is a bug. I have found a work-around and wrote it here: iPad - UISplitViewController How to restrict my app to landscape mode? Hope it helps.

Hey I am not much into this SplitVieController but as far as I know I did that once and I reffered to Ray Wenderlich's Website for that. There the tutorial given is just awesome. Refer to the link Below.. raywenderlich.com/1040/ipad-for-iphone-d... Hope this Helps you.

The problem is, the code in this tutorial is exaclty the same as mine. I have problems in combination with the tabbar I think – choise Nov 6 '10 at 18:50.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions