0
votes

I would like to achieve inner shadows on the border of an UIView. See screenshot

See attached screenshot.

I have tried it using shadow CALayer, but it does not seem to be good choice for this. Thanks for any hints.

Unfortunately I did not find an answer in the topics discussed here.

1
See the accepted answer to this question: stackoverflow.com/questions/4431292/…Daniel Thorpe

1 Answers

1
votes

I always do this with a UIImage that has the inner shadow in it, and lay that on top of the view you're trying to shadow.