Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7057725
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T04:01:25+00:00 2026-05-28T04:01:25+00:00

I have a semi-transparent view with a drop shadow. I mocked it up in

  • 0

I have a semi-transparent view with a drop shadow. I mocked it up in photoshop, which doesn’t draw the shadow under the object. Then I made it in xcode, but it obviously does draw the shadow underneath. I was wondering if there’s a way to avoid this. In other words – have the shadow only appear outside of the shape?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T04:01:26+00:00Added an answer on May 28, 2026 at 4:01 am

    You probably want to set the rasterized property of the layer to YES, which will composite the shadow before other effects such as opacity are applied to the view.

    Note however that this has a big performance impact. There’s a handy table of different shadow implementations and their performance implications here: http://www.omnigroup.com/blog/entry/ipad_drop_shadow_performance_test/

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a dilema, I want to present to the user a semi-transparent view.
I have an image. Over it I draw a semi transparent polygon. Over the
Is it possible to draw overlapping semi-transparent (with a low alpha value) which will
I have a UILabel to which I am attempting to apply a semi-transparent gradient
So I have a grid of images (map tiles) and I draw a semi-transparent
I have built a semi-transparent custom layout panel in WPF by setting the Opacity
I have a view with a UITextField which is the first responder. I'm trying
I have created QLabel *msgLbl . How do I make the msgLbl background semi-transparent?
Windows 7 windows naturally have a semi-transparent header. What I just realized is that
I couldn't find a way to render my input boxes semi-transparent. I have an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.