I have both, and the iOS integration of basic features is insane. Consider examples like… passwords; I’ll get a verification code in a text message or an email and it’ll auto populate and then delete the message. There are so many features like that, which make your phone a seamless part of the “ecosystem.” Android is the opposite. You need an app to do anything and it will require setup and it won’t work every time.
Convenience is what matters. Bootloaders and codecs are not as important as whether my earbuds connect instantly and 100% of the time. A phone should make my life simpler. Etc.