Hi,
I'm evaluating the IGGridView. One thing I've tried is to register a persistent gesture recognizer (RegisterGesture()) of type UITapGestureRecognizer to show the value in a UIPopover if a cell has been tapped.
But after tapping on a cell the app closes unexpectedly. Sometime an exception occurs of type NSInvalidArgumentExeption and no action handling code will be executed.
MonoTouch.Foundation.MonoTouchException: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[__NSCFString target:]: unrecognized selector sent to instance 0x1d5c3630 at at (wrapper managed-to-native) MonoTouch.UIKit.UIApplication:UIApplicationMain (int,string[],intptr,intptr) at MonoTouch.UIKit.UIApplication.Main (System.String[] args, System.String principalClassName, System.String delegateClassName) [0x0004c] in /Developer/MonoTouch/Source/monotouch/src/UIKit/UIApplication.cs:38 at TestInfragistics.Application.Main (System.String[] args) [0x00008] in /Users/dmeier/Projects/TestInfragistics/TestInfragistics/Main.cs:16
As attached you can find my evaluating project (without the binaries because they are to big in size).
No problem.
My guess is that Xamarin must have gotten more strict in what they would accept.
-Steve
true,
checked all my code - never had a column before and all was good, weird.
Thank you very much
Hey Mark,
I think a colon is just missing.
Try this:
var tapGesture = new UITapGestureRecognizer(this, new MonoTouch.ObjCRuntime.Selector("HandleInput:"));
[Export("HandleInput:")]
-SteveZ
hi steve,
today I discovered that the existing code using tapping doesnot work anymore. I tried attached sample and it gives me the same error during the load process of the program.
the selector 'HandleInput' indicates the method takes 0 parameters, while the managed method has 1 parameters.
was something changed in infragistics libraries? what do I need to update?
Thanks
Mark
yes, thank you