cabasicanimation
Get size of an expanding circle in a CABasicAnimation at any point in time
I would like to know how I can get the diameter (or radius) o开发者_Go百科f an expanding circle animation at a at any point in time during the animation. I will end up stoping the animation right afte[详细]
2023-02-24 00:32 分类:问答Cocoa iPhone SDK development - touchesBegan method not working if the UIImageView has CABasicAnimation attached
I\'ve created a class derived from UIImageView (class name Customer). Within this Customer class I implemented the method \"touchesBegan\" .[详细]
2023-02-23 08:23 分类:问答How can I know the values in CABasicAnimation keyPath
I find some code like this: CABasicAnimation *anim = [CABasicAnimation animation]; anim.keyPath = @\"transform.scale\";[详细]
2023-02-20 12:01 分类:问答How to permanently leave a CALayer rotated at its final location?
I am trying to rotate a CALayer to a specific angle ho开发者_如何转开发wever, once the animation is done, the layer jumps back to its original position. How would I rotate the layer properly so that i[详细]
2023-02-04 09:30 分类:问答Cross-Fade Between Two UILabels
Say that I have two UILabels (labelOne and labelTwo) and I need to cross-fade between the two labels. What is the best way of achieving this effect?[详细]
2023-01-31 23:04 分类:问答iPhone: Synchronize animations on two different layers
I need to synchronize a path animation on two different layers (one is used as a mask for another layer, the other shows a graphical element that follows the path, i.e. draws the mask). If I just set[详细]
2023-01-29 21:48 分类:问答How to move a ball horizontally with CABasicAnimation and stop the ball at the correct place
I\'m trying to write a game and I\'m a bit stuck with this animation. I have a ball that is animating horizontally in my screen. Here is the code:[详细]
2023-01-26 19:14 分类:问答CABasicAnimation Problem
So, I have read in the docs, that use of blocks like beginAnimation commitAnimation is discouraged from os4.0.[详细]
2023-01-20 23:05 分类:问答CGAffineTransformMakeRotation before a CABasicAnimation
I\'m performing a rotation of an UIImageView in place first before performing a rotation animation: // rotate to the left by 90 degrees[详细]
2023-01-20 15:51 分类:问答CABasicAnimation Repeat itself
I have a CABasicAnimation that I perform on multiple layers and all it does is move the UIImageView up 10 pixels and then back down. I want this to continue ad infinitum. When the animation finishes I[详细]
2023-01-13 15:16 分类:问答