I am using MFMailcomposeViewController for the mail functionality. but when app present MFMailComposeViewController the text in toReceipts filed display with delay.why is that so ?
if MFMailComposeViewController.canSendMail()
{
var mailPicker = MFMailComposeViewController()
mailPicker.mailComposeDelegate = self;
mailPicker.setSubject("hello");
mailPicker.setMessageBody(txtViewBody.text, isHTML: false);
mailPicker.setToRecipients(["[email protected]"])
self.becomeFirstResponder();
presentViewController(mailPicker, animated: true, completion: {
println("Mail composer completion block")
});
}
It will show Recipient with delay in Simulator.
In device it won't load with delay.