iphone - How to center a label's text in XCode -


I have a cell with two labels. How can I align the top labels to the program and touch another label?

UITXElementement Center is deprecated You should use the following: / P>

  labelOne.textAlignment = NSTextAlignmentCenter;  

Comments

Popular posts from this blog

windows - Heroku throws SQLITE3 Read only exception -

lex - Building a lexical Analyzer in Java -

python - rename keys in a dictionary -