Les UIViews avec une CATiledLayer peuvent-elles avoir des animations?Impossible d'animer la vue avec CATiledLayer correctement
Si j'appelle les éléments suivants:
[myContentView setNeedsDisplay];
CGContextRef contexte = UIGraphicsGetCurrentContext();
[UIView beginAnimations: nil contexte: contexte];
[UIView setAnimationTransition: UIViewAnimationTransitionCurlUp forView: mémoire cache self.view: YES];
[UIView setAnimationCurve: UIViewAnimationCurveEaseInOut];
[UIView setAnimationDuration: 10]; [UIView commitAnimations];
Cela fonctionnera bien si le UIView est un UIView "normal" sans CATiledLayer. Cependant, dès que j'ajoute une sous-couche de type CATiledLayer, les animations ne fonctionnent pas correctement. Le basculement de page fonctionne, mais la page sous-jacente n'est pas affichée (juste vide) jusqu'à ce que l'animation soit terminée.
J'ai essayé [myContentView setNeedsDisplay]; avant, après et même au milieu du bloc d'animation. Pas de différence si myContentView a une CATiledLayer.
Toute aide appréciée.