iphone界面发光效果问题 [英] iphone interface glow effect question
问题描述
我想实现对我相信是UILabels(或也许一个自定义控件?)在这个应用程序中称为convert的发光效果。我想应用程序看起来很整洁,我想为自己的应用程序实现类似的效果
I'd like to achieve the glow effect on what I believe are UILabels (or maybe a custom control?) in this application called convert. I think the app looks pretty neat and I'm trying to achieve a similar effect for my own application
任何帮助?
最好的祝福
david
Best regards
david
推荐答案
应用程序似乎只有数字的发光效果。这是10位数加上几个符号(。,+, - 等)。一个简单的方法来实现这个是一个不同的图像为每个数字和符号,并创建一个 UIView
的子类,可以在它的 drawDect
方法。
The applicatin seems to have the glow effect only for numbers. That's 10 digits plus a few symbols (".", "+", "-", etc). An easy way to achieve this is to have a different image for each digit and symbol, and create a subclass of UIView
that can draw numbers in its drawDect
method.
这篇关于iphone界面发光效果问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!