This should be a somewhat simple question. I'm trying to trim an NSString
to whatever text falls within 150px max height, and then append "Continue Reading" to the end of that trimmed text.. So say we have the following.
a
b
c
d
e
f
g
h
i
j
k
l
m
And we have a font of say, 13... we calculate the total text height and see that it's more than 150px tall at 13px font. My question is, how do I cut the portion of the string that exceeds those 150px?