I’ve 3 UILabel’s inside a custom UITableViewCell. The width of these UIlabels must change when the device changes it’s orietation because the tableView’s width changes. My problem was how could I resize the label when the device rotation happens.
I’ve 3 UILabel’s inside a custom UITableViewCell. The width of these UIlabels must change
Share
The easiest way is to set the labels’
autoresizingMaskto appropriate values. You’ll probably want something like this: