J'utilise ce code pour l'effet Page curl .... Son travail bien dans le simulateur et l'appareil ... Mais ce n'est pas (setType: @ "pageCurl") Apple documenté api, cela l'a causé d'être rejeté par le Programme pour développeurs iPhone au cours du processus d'examen App Store:Iphone page curl effet
animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:1.0f];
animation.startProgress = 0.5;
animation.endProgress = 1;
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
[animation setType:@"pageCurl"];
[animation setSubtype:@"fromRight"];
[animation setRemovedOnCompletion:NO];
[animation setFillMode: @"extended"];
[animation setRemovedOnCompletion: NO];
[[imageView layer] addAnimation:animation
forKey:@"pageFlipAnimation"];
donc j'ai changé et en utilisant comme celui-ci
[UIView beginAnimations:nil context:NULL];
[UIView setAnimationDuration:1];
[UIView setAnimationDelegate:self];
[UIView setAnimationBeginsFromCurrentState:YES];
[UIView setAnimationCurve:UIViewAnimationCurveLinear];
[UIView setAnimationWillStartSelector:@selector(transitionWillStart:finished:context:)];
[UIView setAnimationDidStopSelector:@selector(transitionDidStop:finished:context:)];
// other animation properties
[UIView setAnimationTransition:UIViewAnimationTransitionCurlUp
forView:imageView cache:YES];
// set view properties
[UIView commitAnimations];
Dans ce code ci-dessus que je veux arrêter la page effet boucle à mi-chemin .. Mais je ne peux pas l'arrêter à mi-chemin comme des applications de carte dans l'iPod ... Est-ce une solution pour cela? ou Y a-t-il des méthodes documentées de pomme utilisées pour l'effet de boucle de page dans l'iPod touch?
Je recherche beaucoup. mais n'a pas eu de réponse? Quelqu'un peut-il m'aider? Merci d'avance..plz
Bonjour à tous. Donc vous avez utilisé le type @pagecurl et l'application a été rejetée? – user281300
Si vous souhaitez faire une boucle partielle, mais garder une barre d'outils stationnaire, comme dans l'application Maps d'Apple, consultez ma solution [ici] (http://stackoverflow.com/a/11406056/1148702). –