简体   繁体   English

如何在iMessage iOS11(或iOS10,Mac OSX Sierra)中禁用URL链接预览

[英]How to Disable URL Link Previews in iMessage iOS11 (or iOS10, Mac OSX Sierra)

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. 无法通过iMe​​ssage在开发人员之间发送链接,因为iOS11和iOS10中iMessage的“预览”功能使您很难看到确切的URL结构,因为它改为插入链接预览。 Is there any way to disable this? 有什么办法可以禁用此功能? Driving us crazy!! 让我们疯狂!

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 ” <没有句点

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路径可见):

  1. 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. 如果超链接位于文本消息的中间,iOS 10将不会显示预览。
  2. The second requirement for the new iPhone iOS 10 to render a hyperlink preview is that the hyperlink must start with http:// or https://. 新iPhone iOS 10呈现超链接预览的第二个要求是,超链接必须以http://或https://开头。

With some experimenting it seems the rule is: 经过一些试验,似乎规则是:

  1. Repress preview if the URL appears in the middle of text 如果URL出现在文本中间,请按下预览
  2. A dot can stand in for the text — and won't show 点可以代表文字-并且不会显示

These all hide the preview, and hide the dots: 这些都隐藏了预览,并隐藏了点:

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

设置=>消息=>彩信=>关闭

Settings -> Notifications -> iMessage -> Show Previews. 设置->通知-> iMessage->显示预览。 Turn that off. 关掉它

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 uiView在iOS 10的ViewController内未对齐,但在iOS11上未对齐 - uiView misaligning inside ViewController for iOS10, but not iOS11 UIViewPropertyAnimator 在 iOS10 和 iOS11 上反转动画的不同行为。 `isReversed` 和 `fractionComplete` 属性上的错误? - UIViewPropertyAnimator different behaviour on iOS10 and iOS11 reversing an animation. Bug on `isReversed` and `fractionComplete` properties? iOS11退出后,我能否使用Xcode8 / iOS10进行构建? - Will I be able to build using Xcode8/iOS10 after iOS11 is out? iOS10 iMessage:无法使用 MSConversation 将数据插入 iMessage - iOS10 iMessage : Unable to insert data into iMessage using MSConversation iMessage扩展程序是否需要iOS10中的容器(父)应用程序? - Does iMessage extension need container (Parent) app in iOS10? 禁用 iOS11 更新密码 ActionSheet - Disable iOS11 Update Password ActionSheet iOS10消息链接预览图像 - iOS10 Messages Link Preview Image iOS10中的WebView Url没有满载? - WebView Url not full load in iOS10? iOS10中的UITextField textColor更新,而不是iOS 11中的更新 - UITextField textColor updates in iOS10, not in iOS 11 如何在 iOS11 中调配 NSArray 的 [] 方法? - How to swizzle []method of NSArray in iOS11?
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM