ios - Autosize UILabels in custom style UITableViewCell -


i've got uitableview 2 cell prototypes. 1 (the first 1 in screenshot above) might recognise subtitle style standard cell. second 1 custom, text field.

when run app, labels using first template size width nicely depending on size of text in them, whereas 1 using custom template doesn't scale, clipping text after 3 characters.

is there way configure custom template in xcode storyboard designer size label built-in subtitle cell template does?

cell templates

set constraints shown in figure

enter image description here

the truncated label in image (t..) textfield.

set row height minimum size cell 155.


Comments

Popular posts from this blog

google api - Incomplete response from Gmail API threads.list -

Installing Android SQLite Asset Helper -

Qt Creator - Searching files with Locator including folder -