CEO Tim Cook cheered on gamers at an event during a surprise visit to China, underscoring the market's importance to the iPhone giant at a time when it faces mounting challenges.
Gamers gathered at an Apple store in Chengdu in southwestern China to play "Honor of Kings," a game developed by TiMi Studio, which is owned by Chinese tech giant .
"The action-packed Honor of Kings started here in Chengdu and is now a global phenomenon on the App Store," Cook said in a post on Chinese social media service .
Cook also posted a video of himself cheering on gamers at the tournament. Honor of Kings is one of the biggest mobile games in China and a substantial revenue driver for Apple's App Store in the country.
The Apple CEO's visit to the company's third-largest market comes just under a month after the iPhone 15, the company's flagship smartphone, went on sale to a seemingly lukewarm reception, and as a beaten down Huawei attempts to make a comeback in the mobile market.
Counterpoint Research said in a note on Tuesday that iPhone 15 series unit sales for the first 17 days of sales in China is down 4.5% compared with the iPhone 14.
That comes after Chinese tech giant Huawei last month quietly launched a , despite U.S. sanctions that have sought to stop that from happening.
Huawei was once the , and Apple's biggest challenger, before , causing it to fall to the No. 6 spot.
But as recently as Monday, that said Huawei has become the No. 1 smartphone maker in China, overtaking Apple.
"It's a tough start for Apple to be sure and it's a combination of factors driving this," Ethan Qi, associate director at Counterpoint Research, told CNBC via email.
Qi attributed Apple's challenges to poor consumer sentiment, the iPhone 15's poorer performance than the iPhone 14 and increasing competition in the high-end smartphone market.
"All of these things are working together to take some of the shine away from Apple's lustre during the first few weeks of iPhone 15 sales," Qi said.