2

I can't find one term for explaining the effect that I would to achieve in my iPhone app.

If anyone have the Facebook app please open it and go to the login screen. Input only the username and press "Login". Did you see the textfield? It shakes.

Is there a way to define this effect and to achieve this?

Thanks!

Fred Collins
  • 5,004
  • 14
  • 62
  • 111

1 Answers1

1

Absolutely. You can achieve it with a CAKeyframeAnimation animation or a CABasicAnimation. Here are examples of both on this page. The CABasicAnimation will be easier to implement.

Community
  • 1
  • 1
Jeshua Lacock
  • 5,730
  • 1
  • 28
  • 58