From 6e99e325f62c9c667bf6b2ffe6934cb8930cd870 Mon Sep 17 00:00:00 2001 From: Ignacio Romero Zurbuchen Date: Thu, 31 Mar 2016 14:14:55 -0700 Subject: [PATCH] Revert "Modifies view constraints so the typing indicator view doesn't push the tableView up and down anymore" This reverts commit 7ddc7bc9e8743113a5793d386eebf5f238de0a5c. --- Source/SLKTextViewController.m | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Source/SLKTextViewController.m b/Source/SLKTextViewController.m index 79daea13..ecff8255 100644 --- a/Source/SLKTextViewController.m +++ b/Source/SLKTextViewController.m @@ -599,7 +599,7 @@ - (BOOL)slk_updateKeyboardStatus:(SLKKeyboardStatus)status } -#pragma mark - Public & Subclass Callbacks Methods +#pragma mark - Public & Subclassable Methods - (void)presentKeyboard:(BOOL)animated { @@ -2135,8 +2135,7 @@ - (void)slk_setupViewConstraints @"textInputbar": self.textInputbar, }; - [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView(0@750)][textInputbar(0)]|" options:0 metrics:nil views:views]]; - [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:[typingIndicatorView(0)]-0@999-[textInputbar]|" options:0 metrics:nil views:views]]; + [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|[scrollView(0@750)][typingIndicatorView(0)]-0@999-[textInputbar(0)]|" options:0 metrics:nil views:views]]; [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"V:|-(>=0)-[autoCompletionView(0@750)][typingIndicatorView]" options:0 metrics:nil views:views]]; [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[scrollView]|" options:0 metrics:nil views:views]]; [self.view addConstraints:[NSLayoutConstraint constraintsWithVisualFormat:@"H:|[autoCompletionView]|" options:0 metrics:nil views:views]];