I have some animation that does some rotation using beginAnimations.
I want to hide the UIview in question, of course I tried changing the hidden property but nothing happened.
Here is the code
CGAffineTransform rotation = CGAffineTransformMakeRotation( angelToRotate(-90));
[UIView beginAnimations: @"" context: NULL];
self.view.hidden = TRUE;
[UIView setAnimationDuration: 0.4];
self.view.transform = CGAffineTransformConcat(self.view.transform, rotation);
self.view.hidden = FALSE;
[UIView commitAnimations];
I also tried changing the alpha on the view, but still nothing.
Any ideas?
Or: