I am using the following code in an Xamarin.Forms app in the iOS project to send SMS:
public bool SendSMS (string number, string SMSMessage)
{
return UIApplication.SharedApplication.OpenUrl (new NSUrl("sms:" + number));
}
This opens the iPhone's Messages app, but when I passed the number = "1234567890", it is decoded as +1(234)467-890 which is not correct. What am I missing here?