ios - 如何制作 secret 的 iOS 应用程序文本动画

标签 ios uiviewanimation textlabel app-secret

我正在尝试复制 Secret App 的文本标签转换。有没有人有最好的方法来处理它?<​​/p>

看起来他们让每个字母都以清晰的文本颜色开始,然后将其动画化为灰色,然后是白色文本颜色。

以下是部分截图: enter image description here enter image description here enter image description here enter image description here

最佳答案

这是另一个解决方案 https://github.com/zipme/RQShineLabel

我将 CADisplayLink 与 NSAttributedString 一起使用,这样我们只需要一个 UILabel,看看 :)

关于ios - 如何制作 secret 的 iOS 应用程序文本动画,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/23048731/

相关文章:

iphone - uitableviewcell 文本标签太长并将详细文本标签推出 View

matlab - 在 matlab 中设置 plotyy 函数与文本

uiview - iOS 的 slider View

swift - 为什么 animateWithDuration 淡出而不是淡入?

ios - Objective-C/CocoaHTTPServer - 返回图像如何响应

ios - SpriteKit 无限动画之间的空白帧

ios - UIViewAnimationOptionBeginFromCurrentState 基本动画的意外行为

iphone - UITableViewCell textLabel 宽度大小错误 Expression is not assignable

ios - 在应用程序商店发布之前测试 ios facebook 托管的应用程序链接

ios - 如何在 MonoDevelop 调试器中查看 View Controller 链?