Closed adeds closed 2 years ago
I had the same problem if using CDMarkdownLabel
. You can try using UITextView
with non editable
configuration, and use UITextViewDelegate to handle redirect link
Configuration
Result
Works like a charm!
thanks a lot @ilgaputra15
What did you do?
I've tried the sample project, then I create and render a simple markdown, like "This framework helps with parsing
markdown
with Link."What did you expect to happen?
the
Link
is clickableWhat happened instead?
it is not clickable because
displayActionController
is not triggered <-selectedURLRange
= nil <-boundingReact
is not contains thecorrectLocation
CDMarkdownKit Environment
CDMarkdownKit version: 2.3.0 Xcode version: 14.0.1 Swift version: swift-driver version: 1.62.8 Apple Swift version 5.7 (swiftlang-5.7.0.127.4 clang-1400.0.29.50) Platform(s) running CDMarkdownKit: iOS macOS version running Xcode: 12.6