NSAttributedString link not working in iOS 14

NSAttributedString.Key.link not working when installed app on iOS 14 Beta 8 and iOS 14.0 (18A373) real devices.

It is working fine on device running iOS 13.6 . It's weird as it is working fine in Simulator.

I used below code for reference:

let attributes: [NSAttributedString.Key: Any] = [NSAttributedString.Key.font: UIFont.systemFont(ofSize: 14), NSAttributedString.Key.foregroundColor: ColorConstant.kToolTipFontColor]

let attributedText = NSMutableAttributedString(string: "An ABN is a unique 11 digit number that identifies your business to government & community.\n\nAerologix requires your ABN in order to generate GST invoices", attributes: attributes)

attributedText.addAttribute(.link, value: "", range: NSRange(location: 3, length: 3))

self.label?.attributedText = attributedText


Had anybody faced this issue yet?
Facing the same issue.
Have you found any resolution yet?
In my case, everything was working on iOS 13, but the link was not tappable on iOS 14. It seems that iOS 14 has a little different view hierarchy so my text view was placed under the transparent UITableViewCell.contentView that blocked taps. Hope it will help someone.
NSAttributedString link not working in iOS 14
 
 
Q