It’s long been stated that Apple has had the strongest commitment to supporting its older devices. The latest version of iOS supports devices as far back as 2018’s iPhone XS and XR, which are coming up on 7 years old. While that in itself is impressive, there’s a second level beneath the surface.
Apple was previously untouchable in this field. If you wanted a phone that would last long (at least in terms of operating system updates), an iPhone would be the best option. Android manufacturers have recently begun matching Apple’s claims on more recent device launches.
Källa: Apple’s commitment to supporting older devices goes deeper than you think – 9to5Mac