2
我想调整动画的TableView大小。UITableview调整动画大小
我有以下结构
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。耻辱对我来说,因为它现在起作用^^
你在哪里运行这段代码?我们需要上下文:P – mackross 2011-01-09 15:12:30