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

Posted on 2009-04-28
Last Modified: 2012-05-06
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:

Thanks for any suggestions.
Question by:MC3HelpDesk
    1 Comment

    Accepted Solution

    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


    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Training Course: Android App Development

    This course will involve creating widgets, customize list view, grid view, spinners, etc. Creating applications using audio, video, and SQLite database. Ending with publication on Google Play.

    Hello fellow iPad users, Check for software updates by going to and download the latest version of iTunes and installing it. It makes a big difference in the drivers it install for your iPad and when syncing other apple devices such a…
    There is a security feature on iOS devices that is nearly impenetrable when it has been activated.  This article will provide some possible solutions as well as necessary steps to take to ensure you do not end up with a locked device.
    This tutorial covers a step-by-step guide to install VisualVM launcher in eclipse.
    This tutorial explains how to use the VisualVM tool for the Java platform application. This video goes into detail on the Threads, Sampler, and Profiler tabs.

    759 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    11 Experts available now in Live!

    Get 1:1 Help Now