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
精彩评论