cakeyframeanimation
iOS - Using addSubView on a UIScrollView
I am trying to use this bit of code: [[myUIView layer] addSublayer: layer]; [myScrollView addSubview:myUIView];[详细]
2023-02-07 23:24 分类:问答iPhone animation based on input values (touches) not time
For an animation effect perfectly suited to an animation group approach as shown in Brad Larson\'s answer here, I need the animation to proceed according to inputs. Specifically touch and position of[详细]
2023-02-05 18:31 分类:问答CAKeyframeAnimation with path; can the path be extended to extend the animation?
You would be familiar with the games where a train moves slowly along a track that is made from puzzle pieces - if you can\'t tile more pieces onto the track the train crashes and you lose. One way to[详细]
2023-02-05 00:03 分类:问答Paused/restarted animation does not call delegate methods
I have a CAKeyframeAnimation that calls animationDidStart: and animationDidStop:finished:, as expected, when the animation is allowed to run its course.[详细]
2023-02-03 23:06 分类:问答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 分类:问答Drawing a path in Photoshop/Illustrator, using it in iOS
I am looking for a more convenient way of drawing a path than by drawing it programmatically. Is there any way of drawing a path in Photoshop (or Illustrator) and getting that path to the iPhone to us[详细]
2023-01-29 11:12 分类:问答Drawing a path with CAKeyFrameAnimation on iPhone
I want to draw a path gradually, i.e. I want the path to appear as if it is drawn by hand. I have managed to create the path I need. I have also managed to create a CAKeyFrameAnimation that uses this[详细]
2023-01-29 07:14 分类:问答iPhone - How to make a circle path for a CAKeyframeAnimation?
I\'m trying to make an key frame animation that lets a image view fly around a circle. I\'m using CGPathAddCurveToPoint to make the key frame points. The problem is that the image view always uses the[详细]
2023-01-17 23:23 分类:问答How to specify selector when CAKeyframeAnimation is finished?
I\'m using a CAKeyframeAnimation to animate a view along a CGPath. When the animation is done, I\'d like to be able to call some other method to perform another action. Is there a good way to do this?[详细]
2022-12-23 02:13 分类:问答Intermittent fillMode=kCAFillModeForwards bug using CAKeyframeAnimation with path
I\'m having an intermittent problem when I move a UIImageView around the screen using CAKeyframeAnimation. I want the position of the UIImageView to remain where the animation ends when it is done. Th[详细]
2022-12-22 23:42 分类:问答