我正在使用UITextView来显示一些文本。在布置文本时,我使用enumerateLineFragmentsForGlyphRange:withBlock:方法枚举文本行。NSIntegershrunkNumberOfLines=3;__blockNSMutableString*shortenedText=[NSMutableStringnew];__blockNSIntegercurrentLine=0;__blockBOOLneedsTruncation=NO;[detailsTableViewCell.descriptionTextView.layoutManagerenume