Material Components for iOS v109.6.0 Release Notes
Release Date: 2020-06-03 // almost 4 years ago-
๐ This minor release adds new functionality to NavigationDrawer, ActionSheet, and Dialogs, and adds accessibility improvements to Buttons, Chips, and private/Color.
๐ New deprecations
๐ While there are no new deprecations in this release, the
hitAreaInsets
APIs onMDCChipView
andMDCButton
have been moved to aToBeDeprecated
category.hitAreaInsets
will eventually be deprecated across components. Its replacement,visibleHitAreaInsets
, is in the process of being added to all relevant components.๐ New features
ActionSheet
MDCActionSheetControllerDelegate
has a new method,-actionSheetController:willDisplayView:forRowAtIndexPath:
.
Buttons
MDCButton
has a newvisibleHitAreaInsets
property.
Chips
MDCChipView
has a newvisibleHitAreaInsets
property.
๐ Dialogs
MDCAlertController
has a newattributedMessageAction
property.
NavigationDrawer
MDCBottonDrawerPresentationController
has a newmaximumDrawerHeight
property.
Component changes
ActionSheet
- internal change (Nobody)
AppBar
- Inject AppBars after view controllers have been added to the navigation controller. (Jeff Verkoeyen)
Banner
- โ Add example snapshot tests for verifying MDCColorSchemeDefaultsMaterial201907 color scheme. (Wenyu Zhang)
- Apply container theme in examples. (Wenyu Zhang)
Buttons
- Add a visibleAreaInsets API. (Yarden Eitan)
Chips
- Add visibleAreaInsets API to MDCChipView. (Wenyu Zhang)
๐ Dialogs
- ๐ Adding tappable link support to the alert message (Galia Kaufman)
- replace the message UILabel type to UITextview (Galia Kaufman)
๐ FeatureHighlight
- ๐ Delete unused accessibility hint string and unused localization support. (Bryan Oltman)
FlexibleHeader
- ๐ Remove ShiftBehaviorWithStatusBar from the public API. (Jeff Verkoeyen)
NavigationDrawer
- Clarify
trackingScrollView
API. (Cody Weaver) - Fix bug where
maximumDrawerHeight
wouldn't allow for the correct height. (Cody Weaver) - Fix bug where setting
maximumDrawerHeight
andmaximumInitialDrawerHeight
would allow scrolling. (Cody Weaver) - ๐ Support a max height (Cody Weaver)
Shapes
- Resolve UIColor instance when it is set as shapedBackgroundColor to MDCShapedShadowLayer. (Wenyu Zhang)
Tabs
- Internal change (Jeff Verkoeyen)
private/Color
- ๐ Add colorWithAccessibilityContrastHigh:normal: API to support Increase Contrast color. (Wenyu Zhang)
Multi-component changes