conversation view scrolls behind bars

pull/1/head
Michael Kirk 7 years ago
parent f8abe32ae9
commit d5fa7f9b25

@ -559,15 +559,13 @@ typedef enum : NSUInteger {
self.collectionView.keyboardDismissMode = UIScrollViewKeyboardDismissModeInteractive;
self.collectionView.backgroundColor = [UIColor whiteColor];
[self.view addSubview:self.collectionView];
[self.collectionView autoPinWidthToSuperview];
[self.collectionView autoPinToTopLayoutGuideOfViewController:self withInset:0];
[self.collectionView autoPinEdgesToSuperviewEdges];
[self.collectionView applyScrollViewInsetsFix];
_inputToolbar = [[ConversationInputToolbar alloc] initWithConversationStyle:self.conversationStyle];
self.inputToolbar.inputToolbarDelegate = self;
self.inputToolbar.inputTextViewDelegate = self;
[self.collectionView autoPinToBottomLayoutGuideOfViewController:self withInset:0];
self.loadMoreHeader = [UILabel new];
self.loadMoreHeader.text = NSLocalizedString(@"CONVERSATION_VIEW_LOADING_MORE_MESSAGES",

Loading…
Cancel
Save