在向其中一个设备发送电子邮件时,有没有办法阻止 iOS / iPhone 解析电子邮件主题中的电话号码(如字符串)?
前任。主题:“测试电子邮件 1234567”导致不想要的电话号码链接
我已经尝试了以下问题中的解决方案,但这些仅适用于正文中的链接,不适用于主题
在向其中一个设备发送电子邮件时,有没有办法阻止 iOS / iPhone 解析电子邮件主题中的电话号码(如字符串)?
前任。主题:“测试电子邮件 1234567”导致不想要的电话号码链接
我已经尝试了以下问题中的解决方案,但这些仅适用于正文中的链接,不适用于主题
You could access the view and disable data detection, unfortunately you can't do that according to the documentation:
Important The mail composition interface itself is not customizable and must not be modified by your application. In addition, after presenting the interface, your application is not allowed to make further changes to the email content. The user may still edit the content using the interface, but programmatic changes are ignored. Thus, you must set the values of content fields before presenting the interface.