[MonoTouch] UITabBarController with UISplitViewController

Michael Muegel mike.muegel at gmail.com
Mon Oct 24 21:52:19 EDT 2011


Sorry, Autorotate = true.

From:  Michael Muegel <mike.muegel at gmail.com>
Date:  Mon, 24 Oct 2011 20:44:16 -0500
To:  <monotouch at lists.ximian.com>
Subject:  Re: UITabBarController with UISplitViewController

I posted my question to StackOverflow:

> http://stackoverflow.com/questions/7883375/uitabbarcontroller-with-uisplitview
> controller-monotouch

My issue ‹ thanks poupou <http://stackoverflow.com/users/220643/poupou> ! ‹
was that I had to add Autorotate = false to every MonoTouch.Dialog
DialogViewController.

I suppose I should ask questions like this on StackOverflow since it is
easier for others to find the answer. Is there a rule of thumb folks use
when to post to the mailing list vs. SO?

-Mike
 

From:  Michael Muegel <mike.muegel at gmail.com>
Date:  Sun, 23 Oct 2011 16:02:14 -0500
To:  <monotouch at lists.ximian.com>
Subject:  UITabBarController with UISplitViewController


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/20111024/279a5ec0/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/20111024/279a5ec0/attachment-0001.png 


More information about the MonoTouch mailing list