SyntaxFix
Write A Post
Hire A Developer
Questions
Here is a sample code showing how to align text using UILabel:
label = [[UILabel alloc] initWithFrame:CGRectMake(60, 30, 200, 12)]; label.textAlignment = NSTextAlignmentCenter;
You can read more about it here UILabel