Cocoa Touch - Adding texture with overlay view
问题 I have a set of tiles as UIViews that have a programmable background color, and each one can be a different color. I want to add texture, like a side-lit bevel, to each one. Can this be done with an overlay view or by some other method? I'm looking for suggestions that don't require a custom image file for each case. 回答1: This may help someone, although this was pieced together from other topics on SO. To create a beveled tile image with an arbitrary color for normal and for retina display, I