Material Components for iOS v124.1.1 Release Notes

  • 🚀 In this minor release we added a new Shadow Component and removed the Shrine demo.

    🆕 New features

    A new Shadow Component.

    API changes

    Shadow

    👉 Use the new Shadow component to create a shadow adjusted to your elevation:

    MDCShadow *lowElevationShadow = MDCShadowForElevation(2);
    MDCShadow *highElevationShadow = MDCShadowForElevation(24);
    
    let lowElevation = MDCShadowForElevation(2)
    let highElevation = MDCShadowForElevation(24)
    

    Component changes

    Shadow