Hi Everybody
I need to bring the ripple effect  animation in iphone that is present
in widget application  when you drop a new widget. I tried posting in
various forums including apple forum I cant find the answer for it. I
hope you guyz can help. The following is the code which I used for the
animation.


                  UIButton *Button1=[UIButton alloc] init];
                  Button1.frame=CGRectMake(0,0,50,50,50);
                  [baseUIView addSubview:Button1];
                  CATransition *animation= [CATransition animation];
                  animation.timingFunction=UIViewAnimationCurveEaseInOut;
                  animation.duration=1.0f;
                  animation.type=@"rippleEffect";
                  [[BaseUIView layer] addAnimation:animation forKey:animation];

If I use the above code I get the ripple animation for the entire view
. But I just need to animate around the button. So I tried animating a
view formed around the button and adding it to the base view I`m not
getting the animation. Can somebody please help me I`m trying hard to
crack for 3 weeks.


Thanks in advance
Sivakumar
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to