Does latest ios version gets updated on all the iphones I am thinking of learning ios development. I have a noob doubt- right now the latest ios is 13 so my doubt is whether the latest ios gets updated in all the iphones or not?
Basically, I want to learn which ios version centric app development should I learn- I have ios 12 and ios 13 in my mind.
p.s - I don't use iPhone.
iOS 11–12 are supported on all iPhones since iPhone 5s (2013)
iOS 13 is supported on all iPhones since iPhone 6s (2015)


Generally support is for n-1 from the latest major release of iOS. If you support iOS 12, you'll include every device since iPhone 5s. It's assumed people will be running the latest or n-1 version of iOS on their device.