简体   繁体   English

Facebook iPhone应用程序登录效果

[英]Facebook iPhone app login effect

I can't find one term for explaining the effect that I would to achieve in my iPhone app. 我找不到一个术语来解释我将在iPhone应用程序中实现的效果。

If anyone have the Facebook app please open it and go to the login screen. 如果有人拥有Facebook应用程序,请打开它并进入登录屏幕。 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! 谢谢!

Absolutely. 绝对。 You can achieve it with a CAKeyframeAnimation animation or a CABasicAnimation. 您可以使用CAKeyframeAnimation动画或CABasicAnimation来实现。 Here are examples of both on this page . 这是此页面上的两个示例。 The CABasicAnimation will be easier to implement. CABasicAnimation将更易于实现。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM