0

I am getting confusion in sending the message to the current mobile and then i want to compare the text message body with string,is it possible to fetch the message details in iOS,

please let me know

EDIT or can any one please help me how i wii verify my mobile number

thank you

Mahesh reddy
  • 134
  • 13

1 Answers1

0

If you set a delegate on MFMessageComposeViewController, you can detect when the user clicks "send" on it by overriding messageComposeViewController: didFinishWithResult:

And the parameter that's sent in that function includes the view controller, so you can examine various pieces of it, including the message body and the recipients.

As for verifying your mobile number, you need to rely on the user being honest and typing it in correctly. You can not do it programatically.

Community
  • 1
  • 1
Michael Dautermann
  • 88,797
  • 17
  • 166
  • 215