monotouch - NSInvalidArgumentException error in button click - xamarin -
monotouch - NSInvalidArgumentException error in button click - xamarin -
i have been next "hello, iphone" tutorial available in xamarin website. have completed steps now. now, run application , click on "action 1" button getting error
objective-c exception thrown. name: nsinvalidargumentexception reason: -[helloworld_iphoneviewcontroller actionbuttonclick:]: unrecognized selector sent instance 0xb3a5a30 how can prepare issue ? using latest versions of monodevelop + monotouch
static void main (string[] args) { // if want utilize different application delegate class "appdelegate" // can specify here. uiapplication.main (args, null, "appdelegate"); <-- here }
my code uploaded here
if @ connections button (in xcode) you'll see you've added 2 actions button - 1 called actionbuttonclick , 1 called actnbuttonclick.
in controller, monotouch appears have added partial method sec action isn't 1 crashing.
i deleted action called actionbuttonclick (leaving actnbuttonclick) , ran sample ran fine.
monotouch xamarin
Comments
Post a Comment