Blurry UILabel as programmatic subview of UITableViewCell contentView

后端 未结 9 962
离开以前
离开以前 2021-02-04 02:26

I am adding a UILabel instance as a subview of my custom UITableViewCell instance\'s contentView.

When I select the cell, the row

9条回答
  •  我寻月下人不归
    2021-02-04 03:14

    In my case, having set shouldRasterize = YES on the CGLayer of the view containing the UILabel was the culprit. Removing that line made the text nice and crisp.

提交回复
热议问题