我想调整TableView动画的大小。
我有以下结构
TabBarController
--> NavController
---> ViewController
----> TableViewController
我在我的ViewController中尝试了这个片段,但不幸的是它删除了NavController并显示了NavController的最后一个视图。调整它自己不起作用。
[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.5];
tableView.frame = CGRectMake(320, 254, 0, 309);
[UIView commitAnimations];
我很感激每一个提示 干杯内心
编辑/解决:我在我的视图的didReceiveMemoryWarning中有用于测试目的的动画。对我感到羞耻,因为它现在有效^^
答案 0 :(得分:1)
我在我的视图的didReceiveMemoryWarning中有用于测试目的的动画。对我感到羞耻,因为它现在有效^^