[MonoTouch] UITabBarController with UISplitViewController

Michael Muegel mike.muegel at gmail.com
Sun Oct 23 17:02:14 EDT 2011


Greetings. I want a tab bar, but in some of the tab modes I want to host a
split view controller. I have a screen shot below.

The setup I have works OK w/ newer iOS 4 versions, except that when I
navigate "back" in the navigation controller / MonoTouch.Dialog master
(left) side of the split view, the detail portion (right side "Tab #2"
below) animates vertically.

I uploaded a small sample to
git://github.com/t9mike/MonoTouch-TabPlusNav1-Sample.git.

How I am creating the view controller for the first tab:

   var spit_view = new MySplitViewController();

   spit_view.Delegate = new UISplitViewControllerDelegate();

   spit_view.ViewControllers = new UIViewController[] {

      new MyNavigationController(),

      new DetailViewController("Tab #1")

    };

   Add(UITabBarSystemItem.Search, spit_view); // custom method



Questions:



- After researching this it seems I am doing something unsupported. Is this
true? 

- If supported, is there a fix for this extra animation

- If not supported, what are the alternatives?

- Will my app get approved if I use this look/feel? I see plenty of apps
using this

  design in the app store.



Many Thanks,

-Mike




-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111023/9f2ac425/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: E4752F26-621C-4D53-8694-109D5EFC995B.png
Type: image/png
Size: 19670 bytes
Desc: not available
Url : http://lists.ximian.com/pipermail/monotouch/attachments/20111023/9f2ac425/attachment-0001.png 


More information about the MonoTouch mailing list