Skip to content

Example of fading a UIView on top of a blurred background

Notifications You must be signed in to change notification settings

pavelshadrin/fadingblur

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

fadingblur

A demo project showing how the fading out effect can be achieved on a view with any kind of background (blurred, opaque, semi-transparent, multi-color or clear).

Also providing a UIView subclass FadingEdgesView that can be used as a drop-in view class to fade its subviews. Edges to fade and insets (at which points fading actually kicks in) can be customized.

Simulator Screenshot - iPhone 15 Pro - 2023-10-01 at 02 22 29

More details in my blog: https://pavelshadrin.hashnode.dev

About

Example of fading a UIView on top of a blurred background

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages