Ios swift – Shouldn't UILabel sizeThatFits return a size smaller or equal to the given size, not bigger, for single line labels?
I have a single-line UILabel with the following configuration: let label = UILabel() label.text = "Lorem ipsum dolor sit amet" label.numberOfLines = 1 When I call sizeThatFits(size) on this label with a small size width, the result is always a…