开发者

I Need to display the content on label with multi line

I am displaying data on UIlabel for iphone with multi-line. the problem is that i need to dis开发者_如何转开发play specific content and the display dot... on label if content is not display in two line after content


For get a multi-line label use UITextView or set your label to multi-line:

label.lineBreakMode = UILineBreakModeWordWrap;
label.numberOfLines = 5; //Or whatever you want
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜