Label1.lineBreakMode =?
typedef enum {
UILineBreakModeWordWrap = 0, // Wrap at word boundaries
UILineBreakModeCharacterWrap, // Wrap at character boundaries
UILineBreakModeClip, // Simply clip when it hits the end of the rect
UILineBreakModeHeadTruncation, // Truncate at head of line: "...wxyz". Will truncate multiline text on first line
UILineBreakModeTailTruncation, // Truncate at tail of line: "abcd...". Will truncate multiline text on last line
UILineBreakModeMiddleTruncation, // Truncate middle of line: "ab...yz". Will truncate multiline text in the middle
} UILineBreakMode;
UILineBreakModeWordWrap: 在一个单词之后截掉
UILineBreakModeCharacterWrap: 在一个字符之后截掉
UILineBreakModeClip: 碰到Cell的边界就将Cell的内容截掉,不管最后一个单词写完与否
UILineBreakModeHeadTruncation, // 内容的开头用省略号代替,不截后
UILineBreakModeTailTruncation, // 内容的尾部用省略号代替,不截前
UILineBreakModeMiddleTruncation, // 部分中间内容用省略号代替。