Create a gradient background view with drawrect:
function referenced from Gradients on UIView and UILabels On iPhone [duplicate] Answer, but I was about to create the view with transparency, so made little modifies on the code.
Effect preview:
Create a gradient background view with drawrect:
function referenced from Gradients on UIView and UILabels On iPhone [duplicate] Answer, but I was about to create the view with transparency, so made little modifies on the code.
Effect preview: