If you take a close look an an iMessage conversation cell, you'll notice that the preview text is always two lines long. This can't be a hard coded row height because the rows adjust to dynamic type. How can you always force a label to take up a certain number of lines even if there isn't enough text to do so?
https://stackoverflow.com/questions/67325668/uilabel-minimum-number-of-lines April 30, 2021 at 06:05AM
没有评论:
发表评论