One thing that has always bothered me since I'm an Apple user, is that iPhoto will always automatically open whenever I connect my iPhone to my MacBook Pro.
Well, I've messed around this issue to find a solution and I finally found out how to stop iPhoto from automatically open when you connect your iDevice to your computer.
Step 1: Open iPhoto.
Step 2: Go to Preferences.
Step 3: On the General tab, change the Connecting camera opens setting to No application.
You can now close iPhoto and the next time you connect your iPhone to your computer, you won't be bothered by this again.
Note: Changing this setting will also affect all other cameras you may use (digital cameras, etc) meaning that they won't be opened automatically anymore either.