开发者

UITableview resize animated

I want to resize a TableView animated.

I have the following structure

TabBarController
--> NavController
---> ViewController
----> TableViewController

I tried out this snippet in my ViewController, but unfortunately it removes the NavController and shows the last view of the NavController. The resize it self doesn't work.

[UIView beginAnimations:nil context:nil];
[UIView setAnimationDuration:0.5];
tableView.frame = CGRectMak开发者_Go百科e(320, 254, 0, 309);
[UIView commitAnimations];

I'm thankfull for every hint.

cheers endo

EDIT / SOLVED: I had the animation for testing purposes in the didReceiveMemoryWarning of my view. shame on me, because it works now ^^


I had the animation for testing purposes in the didReceiveMemoryWarning of my view. shame on me, because it works now ^^

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜