jverkoey/nimbus — Issue #165: NIAttributedLabel doesnt draw the text if the text contains emoji on iOS 4.2.1
Author: fsjack
Created: 2012-02-23 08:42:50+00:00
State: open

I put the NIAttributedLabel on the cell so I need the height of the label for displaying the table correctly.So I called sizeToFit and get the height of label then set the frame of the label as the height I get.the result looks perfect on iOS 5.x but failed on iOS 4.2.1.

The reason for that bug is mainly because the height of label is different on these two platform.The height of label on iOS 4.2.1 is slightly less than the one on iOS 5.x if the label contains emoji(works good if no emoji).

Anyone figure it out?

Thanks