Liquid Glass and Apple Music touches for the Spotify iOS app. A GPL-3.0 fork of spoti.pw 0.21.1.
C
// The cover art as a background: shrunk until no shape of it survives, blurred, under a scrim
// darkening toward the bottom. Native/Player/Player.x puts one behind the player, Native/Playlist/Playlist.x
// behind the playlist header.
#import <UIKit/UIKit.h>
UIImage *SGBackdropSample(UIImage *cover);
// The scrim runs from 0.40 black at the top to `bottomAlpha` at the bottom.
UIView *SGBackdropMake(CGRect frame, CGFloat bottomAlpha);
UIImageView *SGBackdropImageView(UIView *backdrop);