iphone - UITextView how to cut off text -


i have uitextview displaying facebook status loaded facebook connect. i'm trying make uitextview creating preview of text. want when there text uilabel. "there text..." dots uitextviews don't that. know how work?

write separate method counts how many letters there in string , if there more preset value cut , append 3 dots end.

also, consider using uilabels instead of uitextviews if don't need edit information inside since uitextviews take longer allocate , init , slower uilabels.


Comments

Popular posts from this blog

javascript - Enclosure Memory Copies -

php - Replacing tags in braces, even nested tags, with regex -