Apple sales grew 6% over the last quarter with a rebound in iPhone demand