Last active
August 29, 2015 14:03
-
-
Save sanketfirodiya/a948d4cbabe28ee76904 to your computer and use it in GitHub Desktop.
Scroll down UITableView when keyboard is dismissed
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- (void)keyboardWillBeHidden:(NSNotification*)aNotification{ | |
UIEdgeInsets contentInsets = UIEdgeInsetsZero; | |
[UIView animateWithDuration:0.25f | |
animations:^{ | |
self.uiTableView.contentInset = contentInsets; | |
self.uiTableView.scrollIndicatorInsets = contentInsets; | |
} | |
]; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment