我一直在關注xamarin網站上提供的「Hello, iPhone」教程。我已經完成了所有步驟。現在,我運行該應用程序並單擊「Action 1」按鈕,我得到此錯誤單擊按鈕時出現NSInvalidArgumentException錯誤 - xamarin
拋出了Objective-C異常。名稱:NSInvalidArgumentException原因: - [HelloWorld_iPhoneViewController actionButtonClick:]:無法識別的選擇器發送到實例0xb3a5a30 我該如何解決這個問題?我使用
static void Main (string[] args)
{
// if you want to use a different Application Delegate class from "AppDelegate"
// you can specify it here.
UIApplication.Main (args, null, "AppDelegate"); <-- HERE
}
我的代碼上傳到here
非常感謝。這對我有效 – WPFKK 2017-01-20 01:27:16