Material Components for iOS v119.4.0 Release Notes
-
๐ In this minor release, we added a new contentEdgeInsets API to Banner, added support for vertically centered image views in MDCSelfSizingStereoCell, and improved support for tvOS.
API changes
Banner
๐ new property:
contentEdgeInsets
inMDCBannerView
.Lists
๐ new enum:
MDCSelfSizingStereoCellImageViewVerticalPosition
. ๐ new property:leadingImageViewVerticalPosition
inMDCSelfSizingStereoCell
. ๐ new property:trailingImageViewVerticalPosition
inMDCSelfSizingStereoCell
.Component changes
Banner
- ๐ Add contentEdgeInsets support to replace layoutMargins usage in sizeThatFits:. (Wenyu Zhang)
- setNeedsLayout before showing Banner in BannerAutolayoutSwiftExampleViewController (Wenyu Zhang)
Cards
- ๐ Update setting corner radius to match team style guide (Cody Weaver)
List
- ๐ Support vertically centered image views in MDCSelfSizingStereoCell (Andrew Overton)
Multi-component changes
- ๐ Additional requested docs changes (Andrew Overton)
- Ensure swift snippets always come before objc (Andrew Overton)
- ๐ Improve support for tvOS. (Jeff Verkoeyen)