[MonoTouch] Help displaying UISplitViewController from UIViewController

Craig Dunn craig.dunn at conceptdevelopment.net
Fri Mar 30 08:17:40 UTC 2012


SplitViewController is "supposed" to be the root (ala the Mail app)
according to Apple's guidelines. It "can" also be added inside a
UITabBarController
(see<https://raw.github.com/xamarin/mobile-samples/master/MWC/Screenshots/iOS/Sessions_iPad.PNG>the
MWC
sample <https://github.com/xamarin/mobile-samples/tree/master/MWC>, and
note the special
handling<https://github.com/xamarin/mobile-samples/blob/master/MWC/MWC.iOS/UI/Controls/IntelligentSplitViewController.cs>required
for rotation).

cd

On Fri, Mar 30, 2012 at 6:52 PM, chris.s <chris.stephens at innov8.co.uk>wrote:

> Thanks for the swift reply.
>
> Oddly enough, the method you outlined is one I tried but when it pushes the
> splitviewcontroller it doesn't get displayed.
>
> I tried it again this morning in case I had made a coding mistake, this
> time
> ran it using the emulator and I got the following error message displayed
> in
> monodev  app output panel...
>
> 'Split View Controllers cannot be pushed to a Navigation Controller
> <UINavigationController: 0x9b9a590>
>
> A quick google of the error message suggests that what I'm trying to do is
> blocked by Apple, it seems that split view controllers need to be root view
> controllers. There might be a few workarounds worth exploring and since
> it's
> an internal company app it shouldn't be an issue.
>
> Thanks for your help, at least I knew I was on the right track even if it
> turned out to be a dead end!
>
> Chris
>
> --
> View this message in context:
> http://monotouch.2284126.n4.nabble.com/Help-displaying-UISplitViewController-from-UIViewController-tp4515952p4518335.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ximian.com/pipermail/monotouch/attachments/20120330/e510dc12/attachment.html>


More information about the MonoTouch mailing list