caanimation Questions
2
Solved
I am creating a CAShapeLayer. I am adding rotation animation to it. Somehow transformation result is weird. The child layer is moving along with rotation. I need it to be in fixed center/position(a...
Hotbox asked 24/7, 2015 at 9:58
2
Solved
Ideally, there would be some kind of constant containing this value.
I'm implementing code that has it's own transition animations, and I'd like those to have the same length as the platform trans...
Inversion asked 30/9, 2011 at 10:27
3
Solved
I found it tricky to animate a UIImageView between two states: its original rectangle frame, and a new shape created with a UIBezierPath. There are many different techniques mentioned, most of whic...
Rebellion asked 10/2, 2015 at 16:42
1
Solved
i have multiple tabs in my app. i one view controller there is animation running,
when i switch to another view controller, and again comes to view controller with animation, then animation stops,
...
Craig asked 8/9, 2014 at 11:38
1
Solved
When using gesture driven UIPercentDrivenInteractiveTransition with CABasicAnimation (or any other CAAnimation), upon finishInteractiveTransition, animation jumps to final position, rather then ani...
Animalcule asked 4/4, 2014 at 16:39
2
Solved
Is is possible to animate a point of a bezier curve? I am trying make a smooth transition from a line to an arrow.
Here's what the line looks like in code
//// Color Declarations
UIColor*...
Caputto asked 13/9, 2013 at 19:5
2
Solved
I have a CALayer subclass with float animAngle as property marked as @dynamic. I have implemented methods actionForKey, initWithLayer, needsDisplayForKey and drawInContext for subclass.
The definit...
Rustle asked 17/8, 2013 at 12:49
2
I have two rotation animations in my CAAnimationGroup, one that starts from zero and another that repeats and autoreverses from that state:
- (void)addWobbleAnimationToView:(UIView *)view amount:(...
Southwester asked 27/3, 2013 at 17:6
5
I have an user interface where an item get deleted, I would like to mimic the "move to folder" effect in iOS mail. The effect where the little letter icon is "thrown" into the folder. Mine will get...
Moonshot asked 27/10, 2010 at 12:30
1
Solved
I am trying to achieve an animation that when you hold down a button it animates a block down, and when you release, it animates it back up to the original position, but I cannot obtain the current...
Porkpie asked 15/12, 2012 at 3:6
1
I have some problem with CABasicAnimation. It`s similar to that post: CABasicAnimation rotate returns to original position
So, i have uiimageview that rotate in touchMove. In touchEnd invoke metho...
Matted asked 8/4, 2012 at 10:44
2
Solved
I animate my UIImageView with CAAnimation using layer property like so:
[imageView.layer addAnimation:pathAnimation forKey:[NSString stringWithFormat:@"pathAnimation%@",objId]];
But at the end ...
Homestretch asked 7/9, 2011 at 15:33
1
I want to crossfade two NSViews and resize their NSWindow. I know how to do them separately but so far not how to do it simultaneously. I think I need a CAAnimationGroup for it. But because I'm dea...
Quarto asked 27/8, 2010 at 12:34
2
Solved
How do you implement kCATransitionPush using CAAnimation subclasses in iOS?
CAAnimation *animation;
// How do you create an animation that does the same than:
// CATransition *animation = [CATrans...
Stokehole asked 9/4, 2011 at 11:25
2
Solved
iOS animation experts! What are the pros and cons of each method? I know Apple recommends blocks instead of the old UIView animation methods (UIView beginAnimations, etc), but what about CAAnimatio...
Ariminum asked 11/8, 2011 at 10:38
1
Solved
Hey, I have this code snippet (duration is .5, amount is 1.5)
CABasicAnimation *grow = [CABasicAnimation animationWithKeyPath:@"transform"];
grow.duration = duration;
grow.repeatCount = 0;
grow.re...
Alfreda asked 15/3, 2011 at 22:48
1
Solved
How can I fade from one background-color to another color in a UIView?
In javascript (jQuery) it can be done by doing the following:
$('body').animate({ backgroundColor: "#ff00ff"});
Would it be ...
Chambless asked 24/1, 2011 at 17:29
4
Solved
Let's say I want to add 50 images to a view for the purpose of animating them. And let's suppose I'm planning on using Core Animation (e.g., CABasicAnimation) rather than "UIView" animation.
Am I ...
Tailorbird asked 14/1, 2011 at 0:25
1
Solved
I'm trying this code (found in an answer here on SO) in a category on UIView and am using it to peform a "pop" animation on a UIImageView nested inside of a UITableViewCell.
- (void)attachPopUpAni...
Duplessis asked 27/8, 2010 at 6:19
5
Solved
I'm struggling with conceptualizing animations with a CALayer as opposed to UIView's own animation methods. Throw "Core Animation" into this and, well, maybe someone can articulate these concepts f...
Vilberg asked 16/7, 2009 at 19:20
© 2022 - 2024 — McMap. All rights reserved.