禁用iOS可使运送跟踪号码可点击

时间:2013-10-07 17:56:27

标签: html ios

我们有一个应用程序可以向客户发送送货确认电子邮件。追踪号码是通过加拿大邮政。目前,在iOS中查看跟踪号码时,客户可以单击跟踪号码并重定向到USPS。

http://trackingshipment.apple.com/?Company=USPS&Locale=&TrackingNumber=CanadaPostTrackingNumber

有没有办法阻止iOS预测跟踪号,例如......

<meta name="format-detection" content="telephone=no">

为电子邮件生成的示例HTML Div。

    <div>
        <h4>Thank you for your recent purchase from Company.</h4>

        <p>Your order has been scanned and a tracking number is now ready.</p>

        <p>Your tracking number is as follows: "This is an unformatted string tracking number."</p>

        <p>If you would like to view the status of your order you can input the tracking number on this page <a href = 'http://www.canadapost.ca/cpotools/apps/track/personal/findByTrackNumber?execution=e2s1'>here.</a></p>
    </div>

1 个答案:

答案 0 :(得分:0)

只需在HTML页面的头部添加<meta name="format-detection" content="telephone=no">即可。

如果您的电话号码需要是链接,请使用<a href="tel:TELEPHONENUMBER">TELEPHONENUMBER</a>