Apple has no problem getting operating system upgrades out to its customers. The vast majority of iPhone and iPad users are running the latest iOS version. And all of these people will be able to make the jump to iOS 12 later this month for free.
Contrast that with Apple’s chief rival. Just a small percentage of Android users have a recent version.