Can I put a shadow on a text view on Xcode ?

Posted on 2011-10-08
Last Modified: 2012-05-12
Dear Expert.

I'm developing an iPhone application on Xcode. I have put some labels and put a shadow. I have also added a Text View and I want to put also a shadow, but I cannot find how to do it.

Could you help me ?
Question by:gplana
    LVL 19

    Accepted Solution

    A UITextView is treated a little differently to a UILabel.  For a UITextView you will have to  #import <QuartzCore/QuartzCore.h> and then use


    Open in new window

    LVL 15

    Author Comment

    Is it possible to do it directly on XCode designer window ? I mean, by design, not by code.
    LVL 19

    Expert Comment

    As far as I know, No.
    LVL 15

    Author Closing Comment

    Thank you.

    Featured Post

    6 Surprising Benefits of Threat Intelligence

    All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

    Join & Write a Comment

    Suggested Solutions

    Article by: Ph0en1x3
    Abstract - With Apple producing millions of units annually, it might make good business sense to become an Apple Certified Development center. The iPhone, iPad, and iPod consistently use the same SDK and development methodologies and this process al…
    You should read OS supplied guidelines before developing. I can't stress that enough. The guidelines will help you understand the reasons mobile app developers do what they do.  Apple is very particular when they review appstore submissions.
    Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…
    Excel styles will make formatting consistent and let you apply and change formatting faster. In this tutorial, you'll learn how to use Excel's built-in styles, how to modify styles, and how to create your own. You'll also learn how to use your custo…

    746 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

    16 Experts available now in Live!

    Get 1:1 Help Now