The Huawei flagship store and the Apple flagship store at Nanjing Road Pedestrian Street in Shanghai, China, Sept. 2, 2024. Huawei reclaimed the top spot in China's smartphone market in the second quarter of the year, while Apple returned to growth in the country — one of its most critical markets — data released by technology market analyst firm Canalys showed on Monday. Huawei shipped 12.2 million smartphones in China in the three months ended June, a rise of 15% year on year — equating to 18% market share. It's the first time Huawei has been the biggest player by market share in China since the first quarter of 2024, according to Canalys. Apple, meanwhile, shipped 10.1 million smartphones in the quarter in China, up 4% year on year and ranking fifth. It is the first time Apple has recorded growth in China since the fourth quarter of 2023, Canalys said. Shipments represent the number of devices sent to retailers. They do no equate directly to sales but are a gauge of demand. The numbers come ahead of Apple's quarterly earnings release this week, with investors watching the company's performance in China, a market where the Cupertino giant has faced significant challenges, including intense competition from Huawei and other local players such as Xiaomi. Huawei, which made a comeback at the end of 2023 after its smartphone business was crippled by U.S. sanctions, has eaten away at Apple's share. Apple's return to growth in China will be a welcome sign for investors. The U.S. tech giant "strategically adjusted its pricing" for the iPhone 16 series in China, which helped it grow, Canalys said. Chinese e-commerce firms discounted Apple's iPhone 16 models during the quarter. And Apple itself also increased trade-in prices for some iPhone models. Canalys' numbers back up figures released by Counterpoint Research earlier this month showing Apple's return to growth in China. Shares of Apple have fallen around 14.5% this year, partly on concerns over China and geopolitical headwinds.