Apple shares had struggled earlier this year on concerns over tough competition in China and uncertainties around how the ...