I am using MFMessageComposeViewController
to send SMS from my app.
The didFinishWithResult
delegate method of MFMessageComposeViewController
shows that the message has been sent successfully but actually this SMS failed to send due to insufficient balance. So MFMessageComposeViewController
does not show me the correct result.
How do I know that the Messages app failed to send an SMS? Is there any way to get the failed status?
It's not possible to know if the message is Sent or Failed from Messages app.
We get a result in messageComposeViewController:didFinishWithResult:
once a message has been successfully queued for sending.