Quantcast
Channel: Recent Threads — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 204402

Objective-C exception thrown. Name: NSInvalidArgumentException

$
0
0

I have a basic say hello button on a tabbed layout in the third view (in total I have 3 virecontrollers:FirstViewController, SecondViewController,ThirdViewController). In the third I put a button anf from xcode ui builder I have defined outlet and action for the button (action: sayhello) When I click the button if I have created the button delegate action or not I have the same error: Objective-C exception thrown. Name: NSInvalidArgumentException Reason: -[ThirdViewController sayhello:]: unrecognized selector sent to instance 0xc1daff0 Where do I'm wrong ? THanks in advance for the hint. Max


Viewing all articles
Browse latest Browse all 204402

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>