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?
set constraints shown in figure
the truncated label in image (t..) textfield.
set row height minimum size cell 155.
Comments
Post a Comment