I am trying to add a hyperlink to certain parts of my text which is being handled and drawn using CoreText.
According to Apple's docs on CoreText I should be using addAttribute:NSLinkAttributeName
however on iOS (4.3) it says it doesn't know NSLinkAttributeName.
In my document searches it looks like NSLinkAttributeName only still exists on the Mac.
Is it available on iOS and I am just missing something? If it's not available how can I create a hyperlink on part of a text using NSMutableAttributedString and CoreText?
Thanks
NSLink
, following the pattern of almost all the other attribute-name constants) and using that for the semantics. Functionally, IIRC, this attribute doesn’t provide anything in CoreText. – Peacetime