If you're using the iPhone Simulator, it won't work because there is no App Store/iTunes Store on the simulator. You will have to build the application to your device to test it out. From what I know, it should open iTunes/App Store when you click the link on the device.
|