¡@

Home 

2014/10/15 ¤U¤È 10:03:30

iphone Programming Glossary: aduration

3D Door Open Animation between two UIViewControllers

http://stackoverflow.com/questions/7685547/3d-door-open-animation-between-two-uiviewcontrollers

suggestions of how to make this better would be welcome void openDoorTo UIViewController aController duration float aDuration aController viewWillAppear YES activeController viewWillDisappear YES self.view insertSubview aController.view belowSubview.. activeController aController viewDidAppear YES UIView beginAnimations nil context nil UIView setAnimationDuration aDuration aController.view.transform CGAffineTransformMakeTranslation 0 0 CATransform3D _3Dt CATransform3DIdentity _3Dt CATransform3DTranslate.. _3Dt UIView commitAnimations self performSelector @selector animationDone withObject aController afterDelay aDuration I think the main problem is that I don't really know how to handle CATransform3DTranslate and CATransform3DRotate . Here..

Core Animation, unexpected animated position and hitTest values

http://stackoverflow.com/questions/7962335/core-animation-unexpected-animated-position-and-hittest-values

void touchesBegan withEvent while the image is moving. Here is the animation I'm using UIImageView animateWithDuration aDuration delay 0 options UIViewAnimationOptionCurveEaseIn UIViewAnimationOptionAllowUserInteraction UIViewAnimationOptionBeginFromCurrentState.. ba.toValue NSValue valueWithCGSize CGSizeMake 0 0 aIv.layer.shadowOffset CGSizeMake 0 0 ba.duration aDuration ba.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut aIv.layer addAnimation.. aIv.layer.shadowRadius ba.toValue NSNumber numberWithFloat 0 aIv.layer.shadowRadius 0 ba.duration aDuration ba.timingFunction CAMediaTimingFunction functionWithName kCAMediaTimingFunctionEaseInEaseOut aIv.layer addAnimation..