Skip to content

Commit

Permalink
Fix RegionDefiner sample wrt new registrar spotting a bug [#18344]
Browse files Browse the repository at this point in the history
  • Loading branch information
spouliot committed Mar 13, 2014
1 parent 73265fb commit 2477fec
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RegionDefiner/RegionDefiner/RegionDefinerViewController.cs
Expand Up @@ -64,13 +64,13 @@ public override void ViewDidLoad ()
public void setUpGesture ()
{
longPress = new UILongPressGestureRecognizer ();
longPress.AddTarget (this, new MonoTouch.ObjCRuntime.Selector ("HandleLongPress"));
longPress.AddTarget (this, new MonoTouch.ObjCRuntime.Selector ("HandleLongPress:"));
longPress.Delegate = new GestureDelegate ();
View.AddGestureRecognizer (longPress);

}

[MonoTouch.Foundation.Export("HandleLongPress")]
[MonoTouch.Foundation.Export("HandleLongPress:")]
public void handleLongPress (UILongPressGestureRecognizer recognizer)
{
if (recognizer.State == UIGestureRecognizerState.Began) {
Expand Down

0 comments on commit 2477fec

Please sign in to comment.