iPhone OS Reference Library Apple Developer Connection spyglass button

Version: 1.2

Posted: 2009-10-27

Build Requirements: Mac OS X 10.5.6 or later, iPhone SDK 3.0

Runtime Requirements: Mac OS X 10.5.6 or later, iPhone SDK 3.0

View Source Code:

Download Sample Code (“Reflection.zip”, 180.7K)



Description

This sample shows how to implement a "reflection" special effect on a given UIImageView most commonly seem in iTunes and iPod player apps.

It allows the rendering effect with "dynamic" input values for 1) reflection height and 2) translucency level. These values can be plugged into the factory methods provided by this sample to achieve a desired affect.

Document Revision History

Date Notes
2009-10-27Fixed a memory leak in CreateGradientImage.
2009-04-29Upgraded for 3.0 SDK due to deprecated APIs.
2008-10-24This sample shows how to implement a "reflection" special effect on a given UIImageView.
Did this document help you? Yes It's good, but... Not helpful...