Why doesn't this code work?
Posted
by orangecl4now
on Stack Overflow
See other posts from Stack Overflow
or by orangecl4now
Published on 2010-04-20T19:10:49Z
Indexed on
2010/04/20
19:13 UTC
Read the original article
Hit count: 264
SignView *tempVC = [[SignView alloc] initWithNibName:@"SignView" bundle:Nil];
[UIView beginAnimations:nil context:nil];
[UIView setAnimationTransition: UIViewAnimationTransitionCurlUp forView:self.view cache:YES];
[UIView setAnimationDelay:0.5f];
[UIView setAnimationDuration:2.0f];
[UIView commitAnimations];
[self presentModalViewController:tempVC animated:YES];
[tempVC passDataWithString:button2.titleLabel.text andColor:currentlySelectedColor isNightModeOn:nightMode.on];
The view slides up instead of Curling up.
What am I doing wrong?
© Stack Overflow or respective owner