If you have a Gmail or Google apps account that has two-step verification enabled, the process of linking your account to your iPhone or iPad is slightly different, as you may have found out if you attempted to sign in and got an incorrect password error. This is because you'll need to generate an app-specific password for your iPhone or iPad in order to securely link them to your Gmail or Google Apps account.
Full story from the iMore Blog...