Disable iPhoto auto launch when connecting an iPhone or iPad [duplicate]

Solution 1:

With iPhone plugged in.

  1. Open application "Image capture"
  2. Select your iPhone
  3. Press the triangle in square symbol in the lower left corner.
  4. Choose "No application" in the droplist under "Connecting this iPhone opens:"

Screen dump for clarification