Add clarifying comment.

// FREEBIE
pull/1/head
Michael Kirk 8 years ago
parent d75b577580
commit 58558b36de

@ -73,6 +73,8 @@ static const CGFloat ConversationInputToolbarBorderViewHeight = 0.5;
- (CGSize)intrinsicContentSize - (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); CGSize newSize = CGSizeMake(self.bounds.size.width, self.toolbarHeight + ConversationInputToolbarBorderViewHeight);
return newSize; return newSize;
} }

Loading…
Cancel
Save