Re: Layers and shadows. Is it possible to have a layer with a shadow and no background color?

Alex Zavatone

What I’ve been doing is duplicating the layer, a task unto itself, adding the layer on top of or behind the previous layer and then getting a shadow that way. It’s not perfect but it’s currently the least bad approach I’ve been able to find.

Our graphic designers will detect a .01 shade change.

On Jun 23, 2021, at 11:39 AM, Steve Mills via <sjmills@...> wrote:

On Jun 23, 2021, at 10:46, Alex Zavatone via <zav@...> wrote:

In my experiments, I noticed that if you simply create a layer for a view and attempt to add a shadow, nothing appears.

Unless some color is applied to the border or the backgroundColor of the layer, no shadow will appear.

If clearColor is used for the background, then no shadow will appear.
What about using black or white at a very low alpha, like .01%?

Steve via iPad

Join { to automatically receive all group messages.