Apple announced record revenue for its June quarter, with sales growth in China identified as a key driver of this performance.