Get the latest tech news
Apple will update iPhones for at least 5 years in rare public commitment
UK regulation requires companies to say how long they plan to provide support.
Apple published the filing to comply with new Product Security and Telecommunications Infrastructure (PSTI) regulations from the UK that went into effect in late April. As this plain-language explainer from the Center for Cybersecurity Policy and Law summarizes, the PSTI regulations (among other things) don't mandate a specific support window for manufacturers of Internet-connected devices, but they do require companies to publish a concrete support window and contact information for someone at the company who can be contacted with bug reports. But in reality, Apple usually hits or exceeds this seven-year timeline for updates—and does so for iPhones released nearly a decade ago and not just its newest products.
Or read this on Hacker News