Forum Xamarin.iOS

App crashes when pressing a button with a segue.

Jul14nJul14n Member ✭✭

Im new to Xamarin and especially to developing iOS apps.

When I press a button in my iOS project the app crashes. The button has a segue that simply is going to take you to another ViewController. When it crashed an error also shows up on:
UIApplication.Main(args, null, "AppDelegate"); in main.cs

The error that shows up is Unhandled Exception:

Foundation.MonoTouchException: Objective-C exception thrown. Name: NSUnknownKeyException Reason: [ setValue:forUndefinedKey:]: this class is not key value coding-compliant for the key Button.
Native stack trace

What am I missing?

Tagged:
Sign In or Register to comment.