Colleagues - there used to be a bug with CoreAnimation!
If you set masksToBounds = false
, cornerRadius
will not work.
But if you set masksToBounds = true
, then shadows won't work.
And this bug was FIXED at some point between 2018 and 2020. My question is WHEN it was fixed? I would really like to know exact release note for something, maybe an iOS version or Swift version, which introduced this fix, and how they formulated it.