0

I was wondering what else can we control using Dynamic Text in iOS devices other than UILabels?

Is there a way to adjust UIImageViews as well for instance? Or any other UIViews ?

Uwe Allner
  • 3,399
  • 9
  • 35
  • 49
Luci furr
  • 3
  • 1

1 Answers1

0

If you are going to use a cell in your UITableViewCell, use automatic dimension, for example:

self.yourtableview.rowHeight = UITableViewAutomaticDimension self.yourtableview.estimatedRowHeight = X

This way your uilabel can be dynamic, your UIView will also be dynamic, in a UIImageView, auto-layout with aspect ratio to fit the cell's height/width.