Questions tagged [cakeyframeanimation]

Describes an animation that provides keyframe interpolation of a layer property in Apple's Core Animation framework.

CAKeyframeAnimation is a Core Animation animation type that provides keyframe interpolation of a layer property. Instances should be created with the initializer animationWithKeyPath:.

For more information, see the Apple Documentation for CAKeyframeAnimation.

235 questions
0
votes
1 answer

keep calayer from moving to original position

CAKeyframeAnimation *anim = [CAKeyframeAnimation animationWithKeyPath:@"position"]; NSArray *times = [NSArray arrayWithObjects:[NSNumber numberWithFloat:0.0], [NSNumber numberWithFloat:0.33], [NSNumber numberWithFloat:0.5], [NSNumber…
0
votes
3 answers

2 animations on same object, only last shows. How to show first one w/o nesting completion block?

I'm doing two animations on the same UIImageView, using blocks. Animations are not quite back to back, but almost; there is some logic inbetween. animate UIImageView from one location on the view to another. execute logic that determines whether…
0
votes
1 answer

Animated ViewController works in iOS 5, but not iOS 4

I am loading ViewControllerA inside ViewController B. It is a small animated character, inside a larger scene. Inside ViewControllerA, there is a rotation animation like: CAKeyframeAnimation *bobble = [CAKeyframeAnimation …
Fluffhead
  • 845
  • 1
  • 9
  • 21
0
votes
1 answer

Animate to one specific keyframe value of an CAKeyframeAnimation

I have four positions in my CAKeyframeAnimation that are part of a bezier path and my animation is working great along the path. But now I need the animated sprite to be moved to one specific value of the keyframe position values. how could I…
headkit
  • 3,307
  • 4
  • 53
  • 99
0
votes
1 answer

Implicit animation not working

As I'm trying to override implicit animation on the position property, the layer quickly flashes to the destination position and then starts my explicit animation: CAKeyframeAnimation* animation = [CAKeyframeAnimation animation]; animation.path =…
0
votes
1 answer

Pulling animation on ios

Please i need to know how can i do pulling effect using multiple image. Those images must follow a specific path each image beside another one like a train. is there any solution than looping. what i wanna exactly is those image move simultaneously.
Abdel Ali
  • 1
  • 1
0
votes
3 answers

Moving several UIImages over a UIBezierPath evenly spread

I'm trying to create a View that has a UIBezierPath on it. This works now. I would like to place UIImages (random number of images) on that UIBezierPath and animate them on request all to the next step or the previous step. All images at once and…
stackr
  • 2,742
  • 27
  • 44
-1
votes
1 answer

When CAAnimationGroup's execution is completed, it goes back to initial animation sequence with a jerking effect

Here, I am creating a vanishing circular layer animation. My code is following: import UIKit class VanishingLoader: UIView { private let loaderLayer = CAShapeLayer() private var layerPaths = [UIBezierPath]() private let…
Natasha
  • 6,651
  • 3
  • 36
  • 58
-1
votes
1 answer

move animation using cakeyframeanimation

i attempt to create CAKeyframeAnimation in order to move image to achieve half of the curved path can any one help to create it correctly
Abdel Ali
  • 1
  • 1
-2
votes
1 answer

How to load an array with hundreds of UIImage instances without crashing the app because of the memory surge?

I have an animation which consists of 250 frames. Each frame is 1080x1920 resolution and in PNG format. I need to take all these frames, animate them with CAKeyframeAnimation and render them on a video using AVFoundation tools. The issue arises when…
xinatanil
  • 1,085
  • 2
  • 13
  • 23
1 2 3
15
16