Open GoogleCodeExporter opened 8 years ago
You need to make sure your MainViewController conforms to the
SKPSMTPMessageSenderDelegate protocol.
Example: @interface MainViewController : UIViewController
<SKPSMTPMessageSenderDelegate>
And in your MainViewController.m you need to have both methods from the
SKPSMTPMessageSenderDelegate:
-(void)messageSent:(SKPSMTPMessageSender *)message;
-(void)messageFailed:(SKPSMTPMessageSender *)message error:(NSError *)error;
This should fix your "unrecognized selector sent to instance" error, although
it looks like the reason you're
getting that error is because -(void)messageFailed:(SKPSMTPMessageSender
*)message error:(NSError *)error;
is trying to be called. That means there is something deeper to the issue that
you need to look into.
Original comment by averagejake
on 26 Mar 2009 at 6:49
Original issue reported on code.google.com by
jcoll...@collinssolutions.com
on 23 Mar 2009 at 12:53