How to prevent phone numbers to be converted into Skype links?

后端 未结 14 709
猫巷女王i
猫巷女王i 2020-12-13 02:08

On those Windows machines with Skype installed, it tends to convert all phone-formatted numbers to Skype links so you can click it in order to make a call on Skype.

14条回答
  •  死守一世寂寞
    2020-12-13 02:28

    If you are using PhoneGap on iOS this can be a UIWebView issue (separate from Skype).

    The following line fixes the problem if you don't want automatic links generated in UIWebView:

    self.viewController.webView.dataDetectorTypes = UIDataDetectorTypeNone;
    

    inside AppDelegate.m in -(BOOL)application:(UIApplication*)application didFinishLaunchingWithOptions:(NSDictionary*)launchOptions

提交回复
热议问题