Apple has agreed to pay out $53m (about £35m) to settle a class-action suit, after a dispute over its use of internal liquid-damage sensors to avoid paying out on warranties for iPhone and iPod touch devices.Related StoriesHow Apple's offshore tax mess could impact your businessSamsung's Galaxy S4 infringes on 5 patents, Apple saysMacworld columnist and Apple analyst to join Apple's marketing