No known instance method for selector--delegate issue?
问题 I'm getting the above error, and I don't know why. The line where the error is flagged is: - (IBAction)cancelButton:(UIBarButtonItem *)sender { [self.delegate addActivityViewControllerDidCancel:self.thisActivity]; } I'm confused because there seems to be no problem with this method, immediately preceding: - (IBAction)saveButton:(UIBarButtonItem *)sender ... [self.delegate addViewControllerDidSave]; } ... } My protocol is declared like this in the associated header file: @protocol