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 endoEDIT / 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 ^^
精彩评论