Link telephone numbers for click to call doesn't detect extensions

I have a label and by tap it should call a phone number.
if number has any ext. or extension it doesn't work properly as it should.
what is for around this issue?

var url = new NSUrl("tel:" + Uri.EscapeUriString(data.PhoneNumber))

if (!string.IsNullOrEmpty(data.PhoneNumber))
{
var tapLabel = new UITapGestureRecognizer(() => UIApplication.SharedApplication.OpenUrl(url));
this.label.UserInteractionEnabled = true;
this.label.AddGestureRecognizer(tapLabel);
}

Tagged:
Sign In or Register to comment.