开发者

iPhone: Preventing text truncation with UITableView of style UITableViewCellStyleValue1

iPhone: Preventing text truncation with UITableView of style UITableViewCellStyleValue1

As you can see, both the text (left) and the detail text (right) have been truncated. How can I ensure only the detail text on the right is truncated, while the text on the left re开发者_StackOverflow中文版mains in full?

Thanks friends.


I don't know of a way to do it simply other then 1) subclassing UITableViewCell and handle layout yourself, or 2) only display x number of characters in your detail text label.

2) is what I'd do.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜