I am using UITableViewAutomaticDimension for the dynamic height of UITableview cells. Everything works fine when I set plain text in a shortcut inside a UITableviewCell.
The problem arises with cell height when I set plain text along with emoji characters in the label. The cell height increases dynamically, but the height is incorrect due to emoji characters. I think a UITableview can treat unicode as text instead of the emoji icon, so it only returns the height of the text.
In my case, the x origin shortcut is also dynamic.
Please see the screenshots below for the problem,
Any suggestions?
source
share