-(void)webView:(WKWebView* )webView didStartProvisionalNavigation:(WKNavigation* )navigation
{
NSString *path= [webView.URL absoluteString];
NSString * newPath = [path lowercaseString];
if ([newPath hasPrefix:@"sms:"] || [newPath hasPrefix:@"tel:"]) {
UIApplication * app = [UIApplication sharedApplication];
if ([app canOpenURL:[NSURL URLWithString:newPath]]) {
[app openURL:[NSURL URLWithString:newPath]];
}
return;
}}