Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

mpramodjain

macrumors regular
Original poster
How to remove fading of an animation with the following attributes to the CATransition.


CATransition *basic_animation = [CATransition animation];
[basic_animation setDuration:50.0];
[basic_animation setType:kCATransitionPush ];
[basic_animation setSubtype:kCATransitionFromRight];
[[lTickerView layer] addAnimation:basic_animation forKey:nil];

What actually I am trying is to display a content with horizontal scrolling , just as a ticker.
I am getting ticker done but every time the animation repeated it starts with a fading. I would like to avoid it . Is there any other way.
 
i don't know the answer, but i suspect it's easier to roll your own animations than dealing with the hidden consequences of tweaking apple's system animations.

read about Animating Views in the UIView Class Reference, and/or goto this thread to see an example of doing so.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.