Ahh, no. The window where existed only one iPhone and you could develop for it was very narrow. And then you need not only develop for different hardware, but software as well. Yes, different versions of iOS are different. Source: developers for mobile for three years.
Screen sizes, presence and size of notches, and available APIs between OS versions.