Add clarifying comment.

// FREEBIE
This commit is contained in:
Michael Kirk 2018-01-17 18:11:48 -05:00
parent d75b577580
commit 58558b36de

View File

@ -73,6 +73,8 @@ static const CGFloat ConversationInputToolbarBorderViewHeight = 0.5;
- (CGSize)intrinsicContentSize
{
// Since we have `self.autoresizingMask = UIViewAutoresizingFlexibleHeight`, the intrinsicContentSize is used
// to determine the height of the rendered inputAccessoryView.
CGSize newSize = CGSizeMake(self.bounds.size.width, self.toolbarHeight + ConversationInputToolbarBorderViewHeight);
return newSize;
}