iphone - How to limit width of textLabel in UITabelViewCell -


i want restrict width of textlabel of uitabelviewcell contains image on right side.

i don't want use uilabel or subclass uitabelviewcell.

try using accessoryview property image on right. should prevent label getting wide , truncating text.

[cell setaccessoryview:<your image view>]; 

Comments

Popular posts from this blog

iphone - Three second countdown in cocos2d -

hyperlink - how to do url routing in php -

c - Avoiding Extra Malloc in Linked List (node->next = NULL) -