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

java - How to print docx and pdf? -

qml - Is it possible to implement SystemTrayIcon functionality in Qt Quick application -

java - IntelliJ to move a class along with conflicted classes to a new package? -