Open iPhoto, go to Preferences, in the General pane make sure "Connecting camera opens:" pull down menu is set to "No application". Problem with that is that if you plug in a digital camera, you have to manually open iPhoto. But at least it wont open every time you plug in your iPhone.