ivanvorobei / SPLarkController

Custom transition between controllers. Settings controller for your iOS app.
https://opensource.ivanvorobei.io
MIT License
988 stars 47 forks source link

Round snapshot view corners #17

Closed edw4rddx closed 3 years ago

edw4rddx commented 3 years ago

Hi, thanks for beautiful library! Is there a way to round snapshot view corners for this case? My main view consists of tab bar + scroll view.

image

Thanks in advance.

edw4rddx commented 3 years ago

Okay, so the problem is here image Animation completion closure invokes after snapshot round corners call even for zero duration animation. To resolve problem - simply place completion closure calls before animation.