ivanvorobei / SPStorkController

Now playing controller from Apple Music, Mail & Podcasts Apple's apps.
https://opensource.ivanvorobei.io
MIT License
2.74k stars 204 forks source link

Can the background be blurred? #42

Closed ArturoLee closed 5 years ago

ArturoLee commented 5 years ago

I haven't seen any issues related to using a background blur. Can this be possible with the SPStorkController? I assume simply putting a blur view in the view controller being presented would not work because of the snapshot. Maybe I'm wrong.

I'll try to see if this solution works when I get a chance: http://justabeech.com/2014/10/22/using-uivisualeffectview-in-a-modal-view-controller/

ivanvorobei commented 5 years ago

Yes, blur not work because SPStorkController use snapshots

ArturoLee commented 5 years ago

Any recommendations on how it can be implemented? I'll be happy contribute if I figure it out. Thank you.

ivanvorobei commented 5 years ago

You can try to add a blur before the view to be presented.