Apples 3.5mm jack sockets are notoriously bad, from iPods to iPhone 3/ 3GS... they all suffer problems, normally with contacts getting dirty and not making proper contact with headphone jacks.
This...