forked from organicmaps/organicmaps
[iOS] Added data detection to bookmarks description
https://jira.mail.ru/browse/MAPSME-14866
This commit is contained in:
parent
c842f5d4c4
commit
281a27c71e
1 changed files with 1 additions and 0 deletions
|
@ -103,6 +103,7 @@ final class ExpandableLabel: UIView {
|
|||
textView.attributedText = attributedText
|
||||
textView.setContentHuggingPriority(contentHuggingPriority(for: .vertical), for: .vertical)
|
||||
textView.backgroundColor = .clear
|
||||
textView.dataDetectorTypes = [.link, .phoneNumber]
|
||||
expandLabel.setContentHuggingPriority(contentHuggingPriority(for: .vertical), for: .vertical)
|
||||
expandLabel.font = font
|
||||
expandLabel.textColor = expandColor
|
||||
|
|
Loading…
Add table
Reference in a new issue