mirror of
https://github.com/material-components/material-components-ios.git
synced 2026-02-20 08:27:32 +08:00
### Context In working on #4848 I noticed that the example uses an UILabel which may have a different backing layer (possibly CATextLayer) than UIView. This change makes it easier for another team member to address this issue. ### The fix Subclass UIView which I believe is the most common use case for using a custom shadow layer in this example. ### Related issue #4848 ### Videos | Before | After | | - | - | |||