objective c - how to rotate a button in the same position iPhone -


I have i buttons, by adding animation, I'm moving my button from one location to another, the specified position Want to rotate my button in the circle position before going in

I have an idea about animation and searched the web, there is no solution, I wrote the code to proceed, anybody can tell me how to do rotation for the button Adding

  CGRact FR1 = CGRactack (143, 429, 25, 25); [Button Set Frame: CGRactMake (121, 381, button.fr. size.width, button.frame.size.height)]; [UIView AnamitwitDition: 0.3 Animation: ^ {[self.navigationControllerSet NavigationbarHead: Yes]; [UIView Set AnimationDidstopsChill: @Selector (HillTorite: End: Reference :)]; [UIView Set Delegate Animation: self]; [Button set frame: fr1]; }];    

Use the cabic animation for rotation on autaxes .. this will work for you .

Comments