I have a UILabel which has a defined frame:
let label = UILabel(frame: someFrame)
Is it possible that the font size will be adjusted to fit the height of the bounding Rect or fit the height and width of the bounding rect?
I have a UILabel which has a defined frame:
let label = UILabel(frame: someFrame)
Is it possible that the font size will be adjusted to fit the height of the bounding Rect or fit the height and width of the bounding rect?
Set the label's font size to something absurdly large, then set the label's autoshrink to an absurdly small minimum font size. Now your label's font will always fit it's frame.