I have a 5 pages (left right swipe) which is created by adding views to a
scroll view (as in Wally's et altera's book)
A navigation controller exists - I presume it is the one automatically
created in the AppDelegate
So I can either show it with a title thus
this.NavigationController.NavigationItem.Title = "Hello World"
Or hide it
this.NavigationController.NavigationBarHidden= true;
What I cant seem to do is add a button to it
I've tried various stuff such as
This.NavigationController.NavigationItem.RightBarButtonItem = new
UIButtonBarItem("go",UIBarButtonItemStyle.Plain,dosomething);
I am sure I am missing the obvious here or is it not possible to put buttons
on the root navigation ?
Tia
JM
_______________________________________________
MonoTouch mailing list
[email protected]
http://lists.ximian.com/mailman/listinfo/monotouch