Iphone SDK: How to center the TableCell text?
I've a TableCell that creates other cells on push.
cell.text = @"New note";
Everything's fine except for the text in the cell - I want 开发者_Python百科it to be centered instead of alligned to the left.
How can i do that?
cell.textLabel.textAlignment = UITextAlignmentCenter;
精彩评论