“unrecognized selector sent to instance” UINavigationController
问题 My Xcode app is getting the following exception error message. -[UINavigationController setDeals:]: unrecognized selector sent to instance 0x8338d40 The exception is being thrown in the following context in the prepareForSegue: method, likely with the destination item. The key line where the exception is thrown is marked with this comment. //**********exception BSViewController.h #import <UIKit/UIKit.h> @class BSData; @interface BSViewController : UIViewController <UITextViewDelegate,