You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
func enabledDetectors(for _:MessageType, at _:IndexPath, in _:MessagesCollectionView)->[DetectorType]{[.url,.phoneNumber]}func detectorAttributes(
for _:DetectorType,
and message:MessageType,
at _:IndexPath)->[NSAttributedString.Key:Any]{[.underlineStyle:1,.foregroundColor:isFromCurrentSender(message: message) ? UIColor.white :UIColor.black]}
And this is how it looks now:
I have tried to replace attributedString for messageKind like this:
What do I want to achieve is to replace that urls with any string, for example here is super link 🌼. And then didSelectUrl is called as always. Is it possible with MessageKit?
The text was updated successfully, but these errors were encountered:
These are my delegate methods for my chat:
And this is how it looks now:
I have tried to replace attributedString for messageKind like this:
where:
The result is like:
But it is not tappable, after that change. Why?
What do I want to achieve is to replace that urls with any string, for example here is
super link 🌼
. And then didSelectUrl is called as always. Is it possible with MessageKit?The text was updated successfully, but these errors were encountered: