Permalink
Browse files

Fixing issue with keyboard table view when pushing and popping a view…

… controller of the navigation stack.
  • Loading branch information...
1 parent e66a854 commit 0bc2d9b2de85a404504211d927378264d07a6e34 @devinross committed Oct 7, 2013
View
1 .gitignore
@@ -14,3 +14,4 @@ xcuserdata
# osx noise
.DS_Store
+demo/Demo.xcodeproj/project.xcworkspace/xcshareddata/Demo.xccheckout
View
41 demo/Demo.xcodeproj/project.xcworkspace/xcshareddata/Demo.xccheckout
@@ -1,41 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
- <key>IDESourceControlProjectFavoriteDictionaryKey</key>
- <false/>
- <key>IDESourceControlProjectIdentifier</key>
- <string>E7BC47F1-8110-451B-A12E-13F7CD3C7235</string>
- <key>IDESourceControlProjectName</key>
- <string>Demo</string>
- <key>IDESourceControlProjectOriginsDictionary</key>
- <dict>
- <key>E6E84476-7E08-4ADE-968E-0995FCC6B413</key>
- <string>ssh://github.com/devinross/tapkulibrary.git</string>
- </dict>
- <key>IDESourceControlProjectPath</key>
- <string>demo/Demo.xcodeproj/project.xcworkspace</string>
- <key>IDESourceControlProjectRelativeInstallPathDictionary</key>
- <dict>
- <key>E6E84476-7E08-4ADE-968E-0995FCC6B413</key>
- <string>../../..</string>
- </dict>
- <key>IDESourceControlProjectURL</key>
- <string>ssh://github.com/devinross/tapkulibrary.git</string>
- <key>IDESourceControlProjectVersion</key>
- <integer>110</integer>
- <key>IDESourceControlProjectWCCIdentifier</key>
- <string>E6E84476-7E08-4ADE-968E-0995FCC6B413</string>
- <key>IDESourceControlProjectWCConfigurations</key>
- <array>
- <dict>
- <key>IDESourceControlRepositoryExtensionIdentifierKey</key>
- <string>public.vcs.git</string>
- <key>IDESourceControlWCCIdentifierKey</key>
- <string>E6E84476-7E08-4ADE-968E-0995FCC6B413</string>
- <key>IDESourceControlWCCName</key>
- <string>tapkulibrary</string>
- </dict>
- </array>
-</dict>
-</plist>
View
2 src/TapkuLibrary/TKKeyboardTableViewController.m
@@ -90,7 +90,7 @@ - (void) keyboardWillDisappear:(NSNotification*)sender{
[UIView beginAnimations:nil context:nil];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
- self.tableView.contentInset = UIEdgeInsetsMake(self.topLayoutGuide.length, 0, self.bottomLayoutGuide.length, 0);
+ self.tableView.contentInset = UIEdgeInsetsMake(self.tableView.contentInset.top, 0, self.bottomLayoutGuide.length, 0);
[UIView commitAnimations];
self.tableView.scrollIndicatorInsets = self.tableView.contentInset;

0 comments on commit 0bc2d9b

Please sign in to comment.