开发者

UIKit draw text with script font that is larger than the frame

开发者 https://www.devze.com 2023-03-28 21:09 出处:网络
I\'m not very good at explaining, so here\'s an image example of what happens when I use this font in a UILabel:

I'm not very good at explaining, so here's an image example of what happens when I use this font in a UILabel:

开发者_JS百科

UIKit draw text with script font that is larger than the frame

As you can see, the top and left side of the text are cut off. I've tried setting the clipsToBounds property of the label to NO, but I get the same result.

Any idea how to fix this?

Thanks.

0

精彩评论

暂无评论...
验证码 换一张
取 消