If you want to draw glossy gradients on UIViews, I provide the code in this answer for this.
Going beyond this, I published the source code for an example application that shows how to draw even more shiny glossy buttons and how to replicate the glossy glare that Apple uses in some of the built-in user interface elements (in this case, I am replicating the UIAlertView style).
This application is written for the class that I teach in advanced iPhone development, for which course notes are available in VoodooPad format here . The Quartz 2D section explains how this drawing code works.
source share