You could make it so its:

TabBarController
  -> UINavigationController
  -> UINavigationController
  -> etc

Start on TAB 1 with just your login view pushed. Set:

HidesBottomBarWhenPushed = true;

and possibly also remove the Navigation bar. See the bottom of my blog
post from last night on how to animate that away:

http://www.fastchicken.co.nz/2012/05/20/earnest-debrief-visual-styles-in-ios-apps-uiappearence-custom-sections-in-monotouch-dialog/

Then, push your normal view onto the stack and set it's
HideButtomBarWhenPushed to false (which is the default)

NOTE: there is a bug (was?) in MonoTouch.Dialog which means the nav
content jumps around a bit. I fixed it with:

public override void LoadView ()
                {
//....
                        tableView.AutoresizingMask =
UIViewAutoresizing.FlexibleHeight | UIViewAutoresizing.FlexibleWidth;
// | UIViewAutoresizing.FlexibleTopMargin;
//...
                }

Now a better way than ALL of that might be to setup your screens as
normal, but use PresentModalViewController to get the login screen up.
You can set the Animation mode using

view.ModalTransitionStyle = UIModalTransitionStyle.CoverVertical;

Sadly, sliding in from the right isn't an option, but you can flip or page curl.

Oh, don't forget you can also pre-push a load of views into a
UINavigationController. I do that with Earnest on the Overview screen
- the tax year selection is just another view which is pushed before
the main overview is displayed.


BTW, I've gone for the slide-up-from-under modal presentation option
so far in mobileAgent.





On Mon, May 21, 2012 at 6:59 AM, Slicc <[email protected]> wrote:
> That works perfectly, the book I am reading suggests that the tab controller
> cannot belong to a nav controller, I guess either it is wrong or I
> misunderstood.
>
> Thanks,
>
> Steven
>
> --
> View this message in context: 
> http://monotouch.2284126.n4.nabble.com/controller-advice-tp4647167p4647762.html
> Sent from the MonoTouch mailing list archive at Nabble.com.
> _______________________________________________
> MonoTouch mailing list
> [email protected]
> http://lists.ximian.com/mailman/listinfo/monotouch



-- 
Nic Wise
t.  +44 7788 592 806 | @fastchicken | http://www.linkedin.com/in/nicwise
b. http://www.fastchicken.co.nz/

Earnest: Self-employed? Track your business expenses and income.
http://earnestapp.com
Nearest Bus: find when the next bus is coming to your stop. http://goo.gl/Vcz1p
mobileAgent (for FreeAgent): get your accounts in your pocket.
http://goo.gl/IuBU
Trip Wallet: Keep track of your budget on the go: http://goo.gl/ePhKa
London Bike App: Find the nearest Boris Bike, and get riding! http://goo.gl/Icp2
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch

Reply via email to