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 -

php - Login to icq account to receive messages from contact #12345678 -

python - rename keys in a dictionary -