Hello, I have a problem...
In my MFMailComposeViewController. i have button.If i click that Button it should open MFMailComposeViewController doesn't work on send and cancel buttons.
Please help in this issue
Hello, I have a problem...
In my MFMailComposeViewController. i have button.If i click that Button it should open MFMailComposeViewController doesn't work on send and cancel buttons.
Please help in this issue
You have to put on this code in ur application,
- (void)mailComposeController:(MFMailComposeViewController*)controller didFinishWithResult:(MFMailComposeResult)result error:(NSError*)error
{
[self dismissModalViewControllerAnimated:YES];
}
Try this one and it works send and cancel buttons properly.