iphone interface glow effect question

梦想与她 提交于 2020-01-22 12:20:16

问题


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

Any help?

Best regards
david

alt text http://www.davidhomes.net/convert.png


回答1:


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.




回答2:


In my answer here, I describe a way to apply a glow effect to any text or vector elements drawn within a UIView or CALayer.



来源:https://stackoverflow.com/questions/1252653/iphone-interface-glow-effect-question

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!