It does. But not beyond iOS 15. Most recent update: 15.8.2 a couple of months ago. Personally I'm really impressed that Apple is still supporting an 8-year-old phone and it's probably the main thing that has been tempting me to jump ship from Android for a while. (Though it seems like Android might be better on this in future.)