Apple has accused the US government of trying to "smear" it with "desperate" and "unsubstantiated" claims.
It comes as the US Department of Justice (DOJ) renewed its demand for access to data on the iPhone owned by San Bernardino gunman Rizwan Farook.
Apple is appealing against a court order that it unlock the iPhone, calling it "unprecedented".
But in its latest court filing, the DOJ claims Apple helped China's government to access more than 4,000 iPhones.
Farook and his wife killed 14 people in the Californian city last December before police fatally shot them.
'Liberty and rights'
The Federal Bureau of Investigations (FBI) wants Apple to create a so-called "back door" that would unlock Farook's iPhone. It says the phone may contain crucial evidence, but has been unable to break into it.
Apple has so far refused to comply with the court order, obtained last month. The company's chief executive, Tim Cook, has previously called the court order "dangerous", "chilling" and "unprecedented".
It has argued the government is asking for a security hack that could be exploited by both governments and criminals.
The DoJ said Apple's stance was "corrosive" to institutions trying to protect "liberty and rights".
Apple's lawyer, Bruce Sewell, told reporters that the tone of the latest DOJ court submission "reads like an indictment".
He said: "Everybody should beware because it seems like disagreeing with the Department of Justice means you must be evil and anti-American, nothing could be further from the truth."
Prosecutors claim Apple's own data shows that China demanded information from Apple regarding more than 4,000 iPhones in the first half of 2015, and Apple produced data 74% of the time.
But Mr Sewell said the new filing relied on thinly sourced news reports to inaccurately suggest that Apple had colluded with the Chinese government to undermine [iPhone] buyers' security.
The DOJ claimed in its court filing that Apple had attacked the FBI investigation as "shoddy" and tried to portray itself as a "guardian of Americans' privacy".
This "rhetoric is not only false, but also corrosive of the very institutions that are best able to safeguard our liberty and our rights: the courts, the Fourth Amendment, longstanding precedent and venerable laws, and the democratically elected branches of government", the DOJ said.
Support for Apple
Apple has appealed against the original court order, arguing that it violates the company's constitutional rights.
"This case is about the Department of Justice and the FBI seeking through the courts a dangerous power that Congress and the American people have withheld," Apple said.
The iPhone maker has received support for other tech giants including, Google, Microsoft, and Facebook.
The FBI says Farook and his wife, Tashfeen Malik, were inspired by Islamist militants when they killed 14 people at a party on 2 December.
The couple later died in a shootout with police and the FBI said it wants to read the data on Farook's work phone to investigate any links with militant groups.
A hearing into the case is scheduled for 22 March in a California federal court. Apple's Mr Cook has said he is willing to take the case to the Supreme Court.
Latest Stories
-
We’re not selling scholarships like tomatoes anymore – Youth Minister vows end to abuse
1 minute -
Youth Minister demands end to state-sponsored scholarships for local courses abroad
31 minutes -
No law governs scholarships in Ghana – Minister admits, vows overhaul
1 hour -
GNPC has no business administering scholarships – Youth Minister
2 hours -
Ghana’s reputation on the line over ¢700m scholarship debt – Youth Minister admits
2 hours -
‘We will pay’ – Government scrambles to clear ¢700m scholarship debt
2 hours -
We inherited over GH¢700m in unpaid scholarship funds – George Opare Addo
3 hours -
Hunter Biden lashes out at George Clooney over father’s 2024 election exit
4 hours -
French cities impose curfews on children after drug violence
4 hours -
Hershey, Nestle, other cocoa companies defeat appeal of child slavery lawsuit
5 hours -
China finds cover-up in lead poisoning of 200 children
5 hours -
Prince George photo released for his 12th birthday
5 hours -
Philippines goods to face 19% tariff, Trump says
6 hours -
Indian vice president’s resignation sparks speculation
6 hours -
Irish government reveals how Apple tax windfall will be spent
6 hours