Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- needleBig.layer.anchorPoint=CGPointMake(0.5f, 0.5f);
- [UIView animateWithDuration:0.4f
- delay:0.01f
- options:UIViewAnimationOptionCurveEaseOut
- animations:^{
- CGAffineTransform rotate = CGAffineTransformMakeRotation(180.0f * (M_PI / 180.0f));
- [needleBig setTransform:rotate];
- }
- completion:^(BOOL finished){
- }];
Advertisement
Add Comment
Please, Sign In to add comment