MessageKit v0.12.0 Release Notes
-
➕ Added
➕ Added
reloadDataAndKeepOffset()
method toMessagesCollectionView
to maintain the current position when reloading data. #284 by @azurechen.➕ Added
maintainPositionOnKeyboardFrameChanged: Bool
property to maintain the current position of theMessagesCollectionView
when the height of theMessageInputBar
changes. #340 by @KEN-chan.➕ Added
detectorAttributes(for:and:at:)
method toMessagesDisplayDelegate
allowingDetectorType
attributes to be set outside of the cell. #397 by @SD10.
🛠 Fixed
🛠 Fixed
indexPathForLastItem
bug whennumberOfSections
equal to 1. #395 by @zhongwuzw.🛠 Fixed
scrollToBottom(animated:)
not work in some situations. #395 by @zhongwuzw.🛠 Fixed
.attributedText(NSAttributedString)
messages that were not using thetextColor
from theMessagesDisplayDelegate
method. #414 by @SD10.🛠 Fixed a bug where new messages using
.attributedText(NSAttributedString)
have the incorrect font. #412 by @SD10.
🔄 Changed
💥 Breaking Change The
MessageLabel
propertiesaddressAttributes
,dateAttributes
,phoneNumberAttributes
, andurlAttributes
are now read only. Please usesetAttributes(_:detector:)
to set these properties. #397 by @SD10.💥 Breaking Change Removed the generic constraint
<ContentView: UIView>
fromMessageCollectionViewCell
. #391 by @SD10.💥 Breaking Change The
contentView
property has been renamed toimageView
forLocationMessageCell
andMediaMessageCell
andmessageLabel
forTextMessageCell
. #391 by @SD10.💥 Breaking Change Changed the name of
MessageInputBar
's propertymaxHeight
tomaxTextViewHeight
as the property is the max height theInputTextView
can have, not theMessageInputBar
itself. #380 by @nathantannar4.💥 Breaking Change Adds a new view
contentView
of typeUIView
to the MessageInputBar to hold the main subviews of theMessageInputBar
. Reduces complexity of constraints for easier testing/debugging. #384 by @nathantannar4.
✂ Removed
- 💥 Breaking Change Removed
scrollsToBottomOnFirstLayout
flag ofMessagesViewController
. #395 by @zhongwuzw.