Apple has beenas of late, but CEO Tim Cook hopes to turn that all around.
Cook is currently in Beijing, his second visit to the city in three months, meeting Tuesday with China's Vice Premier Zhang Gaoli, reports the state-run Xinhua.
At the meeting, Gaoli invited US companies like Apple to boost investments into the country, saying that doing so strengthens the global economy, according to the publication.
Those words from a Chinese official would be music to Cook's ears. The country's government has a reputation for being tough on foreign companies, something Apple knows something about. The government in AprilApple's iTunes Movies and iBooks services, and the company by various local courts over .
Cook also said at the meeting that Apple would be opening a research centre in China.
"The centre will open later this year, bringing together our engineering and operations teams in China as we develop advanced technologies and services for our products, both for our customers in China and around the world," Apple said in a statement.
"The new centre is also aimed at strengthening relationships with local partners and universities as we work to support talent development across the country."
It comes as iPhone sales have dipped in China, where Apple is usually a top-three player. Sales in the Greater China region fell 33 percent last quarter compared with the same period in 2015 -- Apple's worst regional drop among all of its markets.
China, which for some time has been the company's second largest market after the US, is now its third largest market, with Europe taking second place.
reading•Eyes on the prize: Tim Cook visits China again, announces research centre
Feb 23•Apple readying new AirPods with 'Hey, Siri' for 2018 (Apple Byte Extra Crunchy Podcast, Ep. 120)
Feb 23•Apple's giving AirPods some Siri smarts (Apple Byte Extra Crunchy, Ep. 120)
Feb 22•Apple repair center linked to flood of false 911 calls
Feb 22•Which new iPads are coming in March?