Apple became the latest company targeted for Chinese pressure over protests in Hong Kong when the ruling Communist Party's main newspaper criticized the tech giant Wednesday for a smartphone app that allows activists to report police movements.

HKmap.live, designed by an outside supplier and available on Apple's online store, "facilitates illegal behaviour," People's Daily said in a commentary.

"Is Apple guiding Hong Kong thugs?" the newspaper said.

Beijing has pressed companies including Hong Kong's Cathay Pacific Airways to take the government's side against the protests, which are in their fourth month.

Apple didn't immediately respond to a request for comment.

HKmap.live allows users to report police locations, use of tear gas and other details that are added to a regularly updated map. Another version is available for smartphones that use the Android operating system.

Apple said in a statement that HKmap.live was removed because it 'has been used to target and ambush police' and 'threaten public safety.' (Vincent Yu/Associated Press)

Asked whether the Chinese government had asked Apple to remove HKmap.live from its online store, a Foreign Ministry spokesperson, Geng Shuang, said he had no information about that.

"What I can tell you is that these radical, violent crimes in Hong Kong have seriously challenged the legal system and social order in Hong Kong, threatened the safety of Hong Kong residents' lives and property, and undermined the prosperity and stability of Hong Kong.

"Anyone who has a conscience and justice should resist and oppose instead of supporting and indulging those actions," Geng said at a regular news briefing.

The demonstrations began over a proposed extradition law and expanded to include other grievances and demands for greater democracy.

Criticism of Apple followed government attacks starting last weekend on the National Basketball Association over a comment by the general manager of the Houston Rockets in support of the protesters. China's state TV has cancelled broadcasts of NBA games.

"Apple jumped into this on its own and mixed together business with politics and commercial activity with illegal activities," People's Daily said.

The newspaper warned Apple might be damaging its reputation with Chinese consumers.

Brands targeted in the past by Beijing have been subjected to campaigns by the entirely state-controlled press to drive away consumers or disruptive investigations by tax and other regulators.

China has long been critical to Apple's business.

The mainland is Apple's second-biggest market after the United States but CEO Tim Cook has said since 2013 it will eventually become No. 1. Sales in China declined four per cent in the quarter ending in June, but that was an improvement over the 25 per cent contraction in the first half of its fiscal year.

"This recklessness will cause much trouble for Apple," People's Daily said. "Apple needs to think deeply."

Apple also is an important asset to China.

Most of its iPhones and tablet computers are assembled in Chinese factories that employ hundreds of thousands of people. Chinese vendors supply components for Mac Pro computers that are assembled in Texas.