webView调用系统地图,电话,和跳转链接的方法

webView.dataDetectorTypes = UIDataDetectorTypePhoneNumber | UIDataDetectorTypeLink | UIDataDetectorTypeAddress;

第一个为调用系统电话

第二个为调用系统浏览器跳转到对应链接

第三个为调用系统地图显示对应地址



原文地址:https://www.cnblogs.com/melons/p/5792029.html