Scroll to the bottom of the Summary tab selections until you see “Options”.Inside iTunes, click on the device and then click on the ‘Summary’ tab.
This setting is the same in iTunes for Mac OS X and iTunes for Windows, and it applies to all iOS devices and versions too. How to Stop iTunes Opening Automatically When iPhone, iPad, iPod Connects to Computer