​A big reason for the company's lower sales was reduced iPhone sales in China.