开发者

Make UILabel's text "Stick" to the top when having multiple lines - ios

I have a UILabel which is loaded using a xib files, with the maximum of 2 rows.

When I have 2 rows of text, it all works fine, but If I have only 1, it is being written in the middle of the label, and I dont want that to happen. I开发者_开发问答 just want it to stick to the top, as if the label was high enough for 1 row.

How can I implement this?

Tnx!

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜