0
J'ai implémenté une application d'animation.Dans lequel il y a une vue principale et une autre est sous-vue dans cette vue.Il y a aussi un bouton.Lorsqu'un utilisateur touche ce bouton je veux disply sous-vue avec animation.Cette vue doit être afficher à partir Comment est-ce possible.Je ne sais pas comment cela est possible.comment faire une animation UIView?
voulez-vous utiliser [UIView beginAnimations: @ contexte "id": nil]? poster du code, s'il te plait. – Cesar
oui je veux utiliser le code de type beloy: CGContextRef context = UIGraphicsGetCurrentContext(); \t [UIView beginAnimations: nil contexte: contexte]; \t [UIView setAnimationTransition: UIViewAnimationTransitionCurlUp pourView: thumbnailView cache: NO]; \t // [UIView setAnimationCurve: UIViewAnimationCurveEaseInOut]; \t [UIView setAnimationDuration: 1.0]; \t // \t self.view.hidden = YES; \t [UIView commitAnimations]; – JohnWhite