Hello Shawn, Jeff is right. The "splitViewController:shouldHideViewController:inOrientation:" selector was misplaced, it should have been binded on the delegate [1] and not on the controller itself.
Sorry for the inconveniance. Sebastien [1] http://developer.apple.com/library/IOs/#documentation/UIKit/Reference/UISplitViewControllerDelegate_protocol/Reference/Reference.html On Tue, Dec 13, 2011 at 5:10 PM, Jeff Stedfast <[email protected]> wrote: > Hi Shawn, > > Sebastien can probably provide more insight, but I'm pretty sure the change > was made deliberately because the old method didn't actually even work. It > was always meant to be on the delegate, it just was just put on the wrong > class by mistake. > > Hope that helps, > > Jeff > > > On Tue, Dec 13, 2011 at 3:53 PM, Shawn Baker <[email protected]> > wrote: >> >> I just updated to MonoDevelop 2.8.5 and MonoTouch 5.0.4, now I can't >> compile >> my UISplitViewController with an override for ShouldHideViewController. I >> get the following error: >> >> Error CS0505: >> >> `LibreStream.MVCS.ControlLib.SplitViewController.ShouldHideViewController(MonoTouch.UIKit.UISplitViewController, >> MonoTouch.UIKit.UIViewController, >> MonoTouch.UIKit.UIInterfaceOrientation)': >> cannot override because >> `MonoTouch.UIKit.UISplitViewController.ShouldHideViewController' is not a >> method (CS0505) (ControlLib_iOS) >> >> I got around it by using a UISplitViewControllerDelegate, but I'm >> wondering >> if this is a bug or an intentional change? >> >> >> >> -- >> View this message in context: >> http://monotouch.2284126.n4.nabble.com/ShouldHideViewController-no-longer-a-member-of-UISplitViewController-tp4191966p4191966.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 > _______________________________________________ MonoTouch mailing list [email protected] http://lists.ximian.com/mailman/listinfo/monotouch
