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

Eclipse formatter for java ending braces -

ruby - Nesting modules inside of a Rails eninge gem -

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