Add a drop shadow to a UIVisualEffectView

This demo shows how to add a drop shadow to a UIVisualEffectView. The solution involves using/ creating a 9-part UIImage to represent the shadow. The effect is similar to the iOS 10 Maps app.


Related Post

View related post:

Sample Project Notes

The sample project contains a simple iOS app and Xcode Playground. The creation of the 9-part shadow image is shared by the iOS app and Playground using an Embedded Framework.

Visual Effects Shadow

Add a drop shadow to a UIVisualEffectView using a 9-part UIImage.

Visual Effects Shadow Info

⭐ Stars 55
🔗 Homepage
🔗 Source Code
🕒 Last Update 5 months ago
🕒 Created 5 years ago
🐞 Open Issues 1
➗ Star-Issue Ratio 55
😎 Author briancoyner