ios 如何在 iMessage iOS11(或 iOS10、Mac OSX Sierra)中禁用 URL 链接预览
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/39718131/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
How to Disable URL Link Previews in iMessage iOS11 (or iOS10, Mac OSX Sierra)
提问by Adam Bowie
Unable to send links between my developers via iMessage, as the "preview" feature of iMessage in iOS11 & iOS10 is making it hard to see the exact URL structure, because it is instead inserting a link preview. Is there any way to disable this? Driving us crazy!!
无法通过 iMessage 在我的开发人员之间发送链接,因为 iOS11 和 iOS10 中 iMessage 的“预览”功能很难看到确切的 URL 结构,因为它插入了链接预览。有什么办法可以禁用它吗?快把我们逼疯了!!
回答by Bob
Surround the URL with periods.
用句点将 URL 括起来。
Example ".http://google.com."
示例“. http://google.com.”
iOS even removes the periods for you So it shows as "http://google.com" < no periods
iOS 甚至会为您删除句号 所以它显示为“ http://google.com” < 没有句号
回答by Ant The Hoff
Some of the other blogs I have read suggest that for the preview to work certain requirements must be met, if these are not met the preview will not be displayed (this should mean the full URL path is then visible):
我读过的其他一些博客建议,必须满足某些要求才能使预览工作,如果不满足这些要求,则不会显示预览(这应该意味着然后可以看到完整的 URL 路径):
- The first requirement is the the link has to be either at the beginning of the text message, or at the end of the text message. If the hyperlink is placed in the middle of the text message, iOS 10 will not show a preview.
- The second requirement for the new iPhone iOS 10 to render a hyperlink preview is that the hyperlink must start with http:// or https://.
- 第一个要求是链接必须位于文本消息的开头或文本消息的末尾。如果将超链接放在短信中间,iOS 10 将不会显示预览。
- 新 iPhone iOS 10 渲染超链接预览的第二个要求是超链接必须以 http:// 或 https:// 开头。
回答by barefootguru
With some experimenting it seems the rule is:
通过一些实验,似乎规则是:
- Repress preview if the URL appears in the middle of text
- A dot can stand in for the text — and won't show
- 如果 URL 出现在文本中间,则禁止预览
- 一个点可以代表文本——但不会显示
These all hide the preview, and hide the dots:
这些都隐藏预览,隐藏点:
- my text http://www.example.commy text
- my text http://www.example.com.
- .http://www.example.commy text
- .http://www.example.com.
- 我的文字http://www.example.com我的文字
- 我的文字http://www.example.com。
- . http://www.example.com我的文字
- . http://www.example.com。
回答by Petzall
In iOS 12 and MacOS Mojave this can be done by just adding a dot (.) after the url (instead of both before and after mentioned in the accepted answer).
在 iOS 12 和 MacOS Mojave 中,这可以通过在 url 后面添加一个点 (.) 来完成(而不是在接受的答案中提到之前和之后)。
Example
例子
http://google.com.
becomes http://google.com
in plain text
http://google.com.
变成http://google.com
纯文本
回答by Junior Programmer
Settings => Messages => MMS Messaging => OFF
设置 => 信息 => 彩信 => 关闭
回答by c2oxide
Settings -> Notifications -> iMessage -> Show Previews. Turn that off.
设置 -> 通知 -> iMessage -> 显示预览。把它关掉。