Apple CEO Tim Cook delivers the keynote address during a special event on September 10, 2019 in the Steve Jobs Theater on Apple’s Cupertino, California campus.Justin Sullivan | Getty ImagesApple 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.