开发者

iphone center text in cell of table

开发者 https://www.devze.com 2023-03-08 13:39 出处:网络
hi guys [I think this is rather basic, but cannot find how to do it!] how can I center the text i开发者_开发问答n the cells of my table view?

hi guys [I think this is rather basic, but cannot find how to do it!]

how can I center the text i开发者_开发问答n the cells of my table view?

thanks a lot!


It used to be UITextAlignmentCenter

From iOS6 it is NSTextAlignmentCenter.

Have a look at this solution and this solution

0

精彩评论

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