有没有办法在messageBubble中的文本中隐藏链接?我不需要它!
是否需要设置一些设置,例如:
disableLink = true
非常感谢您的回复!
答案 0 :(得分:1)
在JSQMessagesCellTextView.h
中设置
self.dataDetectorTypes = UIDataDetectorTypeNone;
也在JSQMessagesViewController.m中 第543行设置为
cell.textView.dataDetectorTypes = UIDataDetectorTypeAll;
必须是(示例)
cell.textView.dataDetectorTypes = UIDataDetectorTypeAddress;