我想调整动画 TableView 的大小。
我有以下结构
TabBarController
--> NavController
---> ViewController
----> TableViewController
我在 ViewController 中尝试了这个片段,但不幸的是它删除了 NavController 并显示了 NavController 的最后一个 View 。自行调整大小不起作用。
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.5];
tableView.frame = CGRectMake(320, 254, 0, 309);
[UIView commitAnimations];
我很感谢每一个提示。
干杯内托
编辑/已解决:我在 View 的 didReceiveMemoryWarning 中有用于测试目的的动画。对我来说很丢脸,因为它现在可以工作了^^
最佳答案
我在 View 的 didReceiveMemoryWarning 中有用于测试目的的动画。对我来说很丢脸,因为它现在可以工作了^^
关于iphone - UITableview 调整大小动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/4639667/