I have a view with which I have a button calling the following method. The view hides/shows but without any animation
- (void) displayEvent:(id)sender {
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:2.5];
modal.hidden = !modal.hidden;
[UIView commitAnimations];
}
Any ideas?