J'ai besoin d'un coin comme dans l'application Maps.coin comme dans les cartes App
J'ai essayé ce code, mais rien ne se passe:
- (IBAction) performCurl {
// Curl the image up or down
CATransition *animation = [CATransition animation];
[animation setDelegate:self];
[animation setDuration:1.0f];
[animation setTimingFunction:UIViewAnimationCurveEaseInOut];
[animation setType:(notCurled ? @"mapCurl" : @"mapUnCurl")];
[animation setRemovedOnCompletion:NO];
[animation setFillMode: @"extended"];
[animation setRemovedOnCompletion: NO];
notCurled = !notCurled;
[[topView layer] addAnimation:animation forKey:@"pageFlipAnimation"];
}
mon test Ce projet: http://isolute.de/downloads/cornertest2.zip