[MonoTouch] ShouldHideViewController no longer a member of UISplitViewController

Jeff Stedfast jeff at xamarin.com
Tue Dec 13 17:10:23 EST 2011


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 <shawn.baker at librestream.com>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
> MonoTouch at lists.ximian.com
> http://lists.ximian.com/mailman/listinfo/monotouch
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.ximian.com/pipermail/monotouch/attachments/20111213/0e8a829d/attachment.html 


More information about the MonoTouch mailing list