- (void)rotateLabelDown {
// NSLog(@"rotateLabelDown");
// [UIView animateWithDuration:0.5
// delay:0
// options:UIViewAnimationOptionAllowUserInteraction
// animations:^{
label.transform = CGContextRotateCTM;
// label.transform = CGAffineTransformMakeRotation(M_PI);
// }
// completion:^(BOOL finished){
// [self rotateLabelUp];
// }
// ];
}
- (void)rotateLabelUp {
// NSLog(@"rotateLabelUp");
// [UIView animateWithDuration:0.5
// delay:0
// options:UIViewAnimationOptionAllowUserInteraction
// animations:^{
// label.transform = CGAffineTransformMakeRotation(0);
// }
// completion:^(BOOL finished){
// if (animate) {
// [self rotateLabelDown];
// }
// }
// ];
}
// NSLog(@"rotateLabelDown");
// [UIView animateWithDuration:0.5
// delay:0
// options:UIViewAnimationOptionAllowUserInteraction
// animations:^{
label.transform = CGContextRotateCTM;
// label.transform = CGAffineTransformMakeRotation(M_PI);
// }
// completion:^(BOOL finished){
// [self rotateLabelUp];
// }
// ];
}
- (void)rotateLabelUp {
// NSLog(@"rotateLabelUp");
// [UIView animateWithDuration:0.5
// delay:0
// options:UIViewAnimationOptionAllowUserInteraction
// animations:^{
// label.transform = CGAffineTransformMakeRotation(0);
// }
// completion:^(BOOL finished){
// if (animate) {
// [self rotateLabelDown];
// }
// }
// ];
}