Hi Alphapage, My guess is the problem is that UIWindow.RootViewController property is not available in iOS 3.x (it was added in iOS4).
What you can do, instead, is: window.AddSubview (tabBarController.View); Hope that solves your issue! Jeff On Mon, Oct 24, 2011 at 6:20 AM, Alphapage <[email protected]> wrote: > Hello, > I try the tabbed project. > > It is working in the Iphone simulator. > But when I try to deploy to my device 3.1.3, I get an exception in > window.RootViewController = tabBarController; > > I set the project to target 3.0: the first time I had to change: > this.TabBarItem.Image = UIImage.FromBundle ("Images/first"); > to > this.TabBarItem.Image = UIImage.FromBundle ("Images/first.png"); > ??? > > After I get this exception: > "objective c exception thrown NSInvalidArgumentexception *** UIIwindow > setrootviewcontroller unrecognized selection sent to instance 0x753920 > > Thanks in advance for your help. > > -- > View this message in context: > http://monotouch.2284126.n4.nabble.com/Tabbed-project-sample-error-tp3932686p3932686.html > Sent from the MonoTouch mailing list archive at Nabble.com. > _______________________________________________ > MonoTouch mailing list > [email protected] > http://lists.ximian.com/mailman/listinfo/monotouch >
_______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
