阅读背景:

在按下新视图控制器并且键盘隐藏时,TableView框架未正确调整大小

来源:互联网 

I must be missing something fundamental here. I have a UITableView inside of a NavigationViewController. When a table row is selected in the UITableView (using tableView:didSelectRowAtIndexPath:) I call pushViewController to display a different view controller. The new view controller appears correctly, but when I pop that view controller and return the UITableView is resized as if the keyboard was being displayed. I need to find a way to have the keyboard hide before I push the view controller so that the frame is restored correctly. If I comment out the code to push the view controller then the keyboard hides correctly and the frame resizes correctly.I must be missing something fundamental here. I




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: