MaysamSh

Untitled

Apr 16th, 2013
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.     needleBig.layer.anchorPoint=CGPointMake(0.5f, 0.5f);
  2.  
  3.     [UIView animateWithDuration:0.4f
  4.                           delay:0.01f
  5.                         options:UIViewAnimationOptionCurveEaseOut
  6.                      animations:^{
  7.                         CGAffineTransform rotate = CGAffineTransformMakeRotation(180.0f * (M_PI / 180.0f));
  8.                         [needleBig setTransform:rotate];
  9.                        
  10.                      }
  11.                      completion:^(BOOL finished){
  12.                          
  13.                          
  14.                      }];
Advertisement
Add Comment
Please, Sign In to add comment