5

I am trying to achieve something like this (with the grey text always at the bottom of the textview):

enter image description here

but when I set the line break mode to NSLineBreakByTruncatingTail it only allows 1 line of text per paragraph like this:

enter image description here

I would like to truncate the first paragraph to a maximum of 2 lines and have the grey text always as the last line of text.

Halpo
  • 2,982
  • 3
  • 25
  • 54
  • Does it have to use NSParagraphStyle? It looks like a UILabel w/ `.numberOfLines = 2` could work. If your constraints are correct, it'll push the subtitle down – Nathaniel Aug 25 '16 at 21:07

0 Answers0