ASSOCIATED PRESS A display of the app "HKmap.live" designed by an outside supplier and available on Apple Inc.'s online store is seen in Hong Kong Wednesday, Oct. 9, 2019. 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 Inc.'s online store, "facilitates illegal behavior," People's Daily said in a commentary.

SAN FRANCISCO, Oct 9 (Reuters) - Apple Inc on Wednesday removed an app that protestors in Hong Kong have used to track police movements, saying the app violated its rules because it was used to ambush police and by criminals who used it to victimize residents in areas with no law enforcement.

Apple rejected the crowdsourcing app, HKmap.live, earlier this month but then reversed course last week, allowing the app to appear on its App Store. The approval drew a sharply worded commentary criticizing Apple in the Chinese Communist Party’s official newspaper, the People’s Daily.

Apple said in a statement that “many concerned customers in Hong Kong” contacted the company about the mapping app. Apple said it immediately began investigating the app’s use and found it “has been used in ways that endanger law enforcement and residents in Hong Kong.”

“The app displays police locations and we have verified with the Hong Kong Cybersecurity and Technology Crime Bureau that the app has been used to target and ambush police, threaten public safety, and criminals have used it to victimize residents in areas where they know there is no law enforcement,” the statement said.

Under Apple’s rules and policies, apps that meet its standards to appear in the App Store have sometimes been removed after their release if they were found to facilitate illegal activity or threaten public safety.

In 2011, Apple modified its app store to remove apps that listed locations for drunken driving checkpoints not previously published by law enforcement officials.