BEIJING (AP) — The company that assembles Apple Inc.’s iPhones apologized Thursday for a pay dispute that triggered employee protests at a factory where anti-virus controls have slowed production.Employees complained Foxconn Technology Group changed the terms of wages offered to attract them to the factory in the central city of Zhengzhou. Foxconn is trying to rebuild the workforce after employees walked out last month over complaints about unsafe conditions.Videos on social media showed police in white protective suits kicking and clubbing workers during the protest that erupted Tuesday and lasted into the next day.Foxconn, the biggest contract assembler of smartphones and other electronics for Apple and other global brands, blamed a “technical error” in the process of adding new employees and said they would be paid what they were promised.“We apologize for an input error in the computer system and guarantee that the actual pay is the same as agreed and the official recruitment posters,” said a company statement. It promised to “try its best to actively solve the concerns and reasonable demands of employees.”Late Wednesday, Apple said it had people on the ground at Foxconn’s Zhengzhou facility.“We are reviewing the situation and working closely with Foxconn to ensure their employees’ concerns are addressed,” the company based in Cupertino, California, said.The dispute comes as the ruling Communist Party tries to contain a surge in coronavirus cases without shutting down factories, as it did in 2020 at the start of the pandemic. Its tactics include “closed-loop management,” or having employees live at their workplaces without outside contact.Authorities promised last month to reduce economic disruption by cutting quarantine times and making other changes to China’s “zero-COVID” strategy, which aims to isolate every case. Despite that, the infection surge has prompted authorities to suspend access to neighborhoods and factories and to close office buildings, shops and restaurants in parts of many cities.In this photo provided Nov 23, 2022, security personnel in protective clothing attack a man during protest at the factory compound operated by Foxconn Technology Group who runs the world’s biggest Apple iPhone factory in Zhengzhou in central China’s Henan province. Employees at the world’s biggest Apple iPhone factory were beaten and detained in protests over pay amid anti-virus controls, according to witnesses and videos on social media Wednesday, as tensions mount over Chinese efforts to combat a renewed rise in infections. (AP)On Thursday, people in eight districts of Zhengzhou with a total of 6.6 million residents were told to stay home for five days. Daily mass testing was ordered for a “war of annihilation” against the virus.Apple earlier warned iPhone 14 deliveries would be delayed after employees walked out of the Zhengzhou factory and access to the industrial zone around the facility was suspended following outbreaks.To attract new workers, Foxconn offered 25,000 yuan ($3,500) for two months of work, according to employees, or almost 50% more than news reports say its highest wages usually are.Employees complained that after they arrived, they were told they had to work an additional two months at lower pay to received the higher wage, according to an employee, Li Sanshan.Foxconn offered up to 10,000 yuan ($1,400) to new hires who choose to leave, the finance news outlet Cailianshe reported, citing unidentified recruiting agents.Foxconn’s statement Thursday said employees who leave will receive unspecified “care subsidies” but gave no details. It promised “comprehensive support” for those who stay.The protests in Zhengzhou come amid public frustration over restrictions that have confined millions of people to their homes. Videos on social media show residents in some areas tearing down barricades set up to enforce neighborhood closures.Foxconn, headquartered in New Taipei City, Taiwan, earlier denied what it said were comments online that employees with the virus lived in factory dormitories.