ios - iPhone -Remove the underline from link in UILabel -


i using tttattributedlabel (https://github.com/twotoasters/tttattributedlabel). here i'm correctly getting label clickable text.

enter image description here

i need display text username in above image(ie. without underline).how that?

try code (sorry formatting, written on phone...)

nsdictionary *linkattributes = @{[nsnumber numberwithint:kctunderlinestylenone] : (id)kctunderlinestyleattributename}; self.label.linkattributes = linkattributes; 

Comments

Popular posts from this blog

php - Why I am getting the Error "Commands out of sync; you can't run this command now" -

linux - Does gcc have any options to add version info in ELF binary file? -

java - Are there any classes that implement javax.persistence.Parameter<T>? -