Apple Settles Patent Spat With HTC