how to glow a image by code when user click as my images are dynamic plz help with some simple effect Thanks
A:
Do you mean the short glow, that happens when the users taps? Create a UIButton with your image and set showsTouchWhenHighlighted
to YES.
tonklon
2010-07-23 08:06:09
no i cant is ther any other options just for glow how can i add extra button :( plz suggest some other idea Thanks
ram
2010-07-23 08:45:47
A:
You can render a glow like effect as a white shadow in CoreGraphics. Take a look at http://stackoverflow.com/questions/805872/how-do-i-draw-a-shadow-under-a-uiview or http://developer.apple.com/iphone/library/documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/dq_shadows/dq_shadows.html
tonklon
2010-07-23 10:23:56