I have ViewController. When I click on button page flips screen like image(full screen flips)
https://appoisseur.files.wordpress.com/2010/04/vertflip.png
I want to flip part of screen in landscape like image
http://cdn.appstorm.net/ipad.appstorm.net/ipad/files/2013/11/IMG_0063.png
How can I do this?
My code
-(IBAction)Next:(id)sender
{
[UIView beginAnimations:@"Flip" context:nil];
[UIView setAnimationDuration:1.0];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionCurlDown forView:self.view cache:YES];
[UIView commitAnimations];
}
Aucun commentaire:
Enregistrer un commentaire