What's new
Apple iPad Forum 🍎

Welcome to the Apple iPad Forum, your one stop source for all things iPad. Register a free account today to become a member! Once signed in, you'll be able to participate on this site by adding your own topics and posts, as well as connect with other members through your own private inbox!

How to setup a Multiple View in Ipad App

AntCor

iPF Noob
Joined
Feb 1, 2011
Messages
1
Reaction score
0
Location
Italy
Hi All, I am new developer about Ipad and I would like to create a view with more image view and buttons in the same view, here some code I did but I have no error accept on the simulator when I press first time I got different setAnimationTransition of the second time, but I don't know if is correct to put more image view and buttons on the same view.
Thank you so much in advance.:)


- (IBAction) intro_antonio: (id) sender{

[intro_antonio setHidden:NO];
[img1 setHidden:YES];
[img2 setHidden:YES];
[img3 setHidden:YES];
[img4 setHidden:YES];
[img5 setHidden:YES];
[img6 setHidden:YES];
[img7 setHidden:YES];

[BTN1 setHidden:NO];
[BTN2 setHidden:NO];
[BTN3 setHidden:NO];
[BTN4 setHidden:NO];
[BTN5 setHidden:NO];
[BTN6 setHidden:NO];
[BTN7 setHidden:NO];
[BTN8 setHidden:NO];

[UIView beginAnimations:mad:"flipping view" context:nil];
[UIView setAnimationDuration:1];
[UIView setAnimationCurve:UIViewAnimationCurveEaseInOut];
[UIView setAnimationTransition:UIViewAnimationTransitionFlipFromRight
//[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp
forView:intro_antonio cache:YES];

[intro_antonio setHidden:NO];
[UIView commitAnimations];

}
 

Most reactions

Latest posts

Back
Top