开发者_StackOverflow中文版When i try to delete any row - while clicking the edit button - the delete button appears and the text on right side truncated from the end.
I want to compress it automatically while delete button appears.
You can try setting the textLabel property attributes to automatically truncate the middle of the string or set a smaller (minimum) font.
[[theCell textLabel] setMinimumFontSize:theSizeYouWant];
or
[[theCell textLabel] setLineBreakMode:UILineBreakModeMiddleTruncation];
精彩评论