iphone - Underline label/Strike-out label : 'shouldStrikeOut' not working when the text-width exceeds label-width -
i wish make label in text struck-out. label dynamic , can take text of width.
i have imported 'underlinelabel' class given in below link.
https://github.com/guntistreulands/underlinelabel/blob/master/readme.md
[strikelbl setshouldstrikeout:yes];
the above line working fine except when label's content-width exceeds label's frame-width.
eventhough below code set, helps in fitting label within given width. but, strike-out not working in case.
strikelbl.minimumfontsize = 7; strikelbl.adjustsfontsizetofitwidth = yes;
Comments
Post a Comment