How do you properly encode a message to share via the whatsapp URL scheme ? The following set the text in whatsapp with whitespaces replaced by ' - ', offcourse i don't want that.
Example:
try{
// text with spaces
var textString = " Hello World " ;
NSUrl request = new NSUrl("whatsapp://send?text=" + textString);
UIApplication.SharedApplication.OpenUrl(request);
} catch (Exception ex) {
var alertView = new UIAlertView("Error", "Something went wrong", null, "OK", null);
alertView.Show();
}