How do I rotate a label 90 degrees in Interface Builder for iPhone

How do I rotate a label 90 degrees in Interface Builder for the iPhone?

I want the app to remain vertical, but I want the text in a label to display vertically but 90 degrees.

An example of how I would want the text to be positioned can be found here:
http://www.tutorialbeach.com/tutorials/images/frozen_ice_text_3.jpg

Thanks for any suggestions.
MC3HelpDeskAsked:
Who is Participating?
 
MC3HelpDeskConnect With a Mentor Author Commented:
I found out :o)


myLabel.transform = CGAffineTransformMakeRotation (3.14/2)
//the (3.14/2) is a 90 degree rotation in radian measure

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.