With the help a $50 infrared hardware attachment, you too can turn your handy iPhone into a universal remote to control all of your home entertainment devices.
First you would plug in the infrared adapter into the docking connectors, then use the free application (that you can download from the App store) to drag and drop buttons into place.
The accessory works without batteries, will control any number of devices within about 30 feet, and doesn’t require independent batteries, Wi-Fi or external power to function.