It honestly depends on the perspective on what you are using it for.
iPhone commercial vanilla use (Straight out of the box without jailbreak):
Pros:
The setup is relatively easy to set up. User friendly. Aesthetic of the phones are definitively high on the scale. The UI is definitely pretty with the screens that they install. Apps are heavily regulated which is great so viruses are a close to none. Apps are detailed beautifully, I do have to give them that. Imessage is definitely a plus as well as Facetime. Phones feel good to hold naked (without a case). The camera's are pretty decent in terms of what they had before. Find my iPhone is an ultimate lifesaver. So these phones are harder to steal which is also a huge plus. One last thing to add. Siri is hands down, better that Bixby, but neck and neck with google assistant. Apple Health is a good feature, but with gimmicks. Bare phone is okayish with a decent pedometer. Gets better once you get a watch. I am a faithful fan when it comes to the notch as the iPhone X does look pretty appealing athletic wise. And the notification bar disappearing is my favorite.
Cons:
To start off. iPhone's are the worst bang for your buck when it comes to comparability with life situations and customization of the phone itself. No expandable storage, absolute nightmare to import your own songs. Acceptance of apple pay is substantially lower than of Samsung Pay. Jailbreaks are often required to even get close to the customization ability to that of Android. App store is heavily age restricted. Overpriced accessories for functions that should be available straight out of the box *cough* like using a headphone jack and charging your phone at the same time without buying or using a separate adapter. Apple Health without any accessories is very bare bones, with self imputed data and no monitors on the phone itself besides the pedometer. Lower battery life with the X and XR despite a pretty big price increase. With the XR you actually get a downgrade in the screen with a price hike. TSK. Feels like a phone with a lot of DLC.
Jailbreak perspective:
Pros:
When it comes to jailbreak. I will go with Apple every time over android. Over the years it has gotten a bit more difficult. But still hands down more user friendly than trying to root an android. Cydia being my favorite appstore on any platform. Constant supporters keeping the community alive (Just gotta know the right repositories). With compatibility warnings for newer users who are just learning their first jailbreak. Customization getting to be very extensive and entertaining when you learn how much you can change the entire UI. Getting your music onto your phone becomes extremely simple for those offline users. I know its against all user policies. But this method allows the customization that should be allowed with the price that you pay for the phone.
Cons:
Not for the faint of heart. As playing with the firmware is like walking on eggshells (and getting blacklisted from the Apple Geniuses). With outdated apps and risking personnel. Bricking your phone is actually very easy for the people who are again. First time experimenters, and an absolute nightmare. But fixing a brick, even worse. When there is a community out there all about modding out your iPhone, there will always be people to exploit those just trying to fix their phones. With malicious links to "sterile factory firmware packages", and virus infected downloads for injectors. It's a very dangerous game to play when you don't have experience in this aspect. Jailbreaking also does leave you vulnerable to attacks on your phone as it opens up the security of the ios version. So basically, if you aren't one for risks, don't play the game.
Android commercial vanilla use (Straight out of the box without a root):
Pros:
I am currently using a Samsung Galaxy Note 8, so I will be basing my views and bias comments for this phone. Android is the best bang for your buck when it comes to user customization. Straight out of the box is the ability to expand the storage up to 256gb (up to 1TB on the newer models: Samsung Galaxy s10-10+ and the Note 9). HEADPHONE JACK. Battery share among the newer model holders. Ability to click and drag music in via file explorer and a computer. Default widgets will be my all time favorite. Add your own pictures and art to the Always On display. OLED screens are spectacular (I know the iPhone X has one, but the XR does not), and to match, the camera. Resolution: S10+ beats the X and XR with the front lens by 3mp and zooming ability. The rear cameras are a neck and neck so I will stay quiet on that one as it depends on users preference. Lighter and bigger phone than the X and XR, and a longer battery life. Longest being at around 34 hours. Good google assistant integration, adds to the experience if you have a google home or nest as well. Also out of the box is the S pen. Not much of an everyday user of it, but is extremely useful when needing to write something down or just doodle, seeing as it comes inside of the phone. Next, the S Health. Out of the box, the phone (against this is coming from the Samsung galaxy perspective) has a solid heart rate monitor, stress monitor, blood saturation monitor, but a notsogood pedometer. Simple shakes fool it so its not very precise. But overall the UI of the health app is much more appealing with the motivational appeal layout. This is all without the use of a watch, but it does enhance the app greatly if you do happen to include one in the scenario. Continuing on, App availability and restrictions: Very broad when it comes to selections, whether in or out of the app store, is very open. Apps are able to implement their own moderating without multiple repercussions from the app store. Such as Telegram with their adult content message boards, Kik, and many others. And many developers don't even have to host their app on the play store to have their work played out. As this is a bless, it has its own values in being a risk. The In-Screen fingerprint reader on the S10 is very appealing and their implementation is very appealing. Also the verification for the phone to even boot is also a good plus. The water and dirt resistance and halt charging when something is wet is also a plus for me. But hands down for the price and customization allowed with android. It is my go to.
Cons: Oh boy. where to start. Seeing as there are alternates to Imessage with the Pixel and Samsung's version of android. It does rate pretty poor on the efficiency when using them real time. In my experience client to client messaging without sms worked about 15% of the time (I do like to see when people read texts so they know what I'm trying to say if its urgent). I dislike the notification bar as it builds up quite a bit and sometimes a hassle to find the right setting to disable it. The Pedometer isn't exactly foolproof as bumps from a car ride or shifting in your seat counts towards your step count and isn't exactly precise. App Store and app accessibility on the web. Despite apps being plentiful. Android is very prone to viruses on user error. As iPhone has the ball game in security. Android is very susceptible to getting nasty adware and key lockdown. So users sticking to just the Play Store, you're mostly in the clear. But for parents who's children are naturally curious on looking for easy cheats for the mobile game they are playing, leads to a big nasty, and a nightmare to fix. One last thing with multiple apps is your phone getting cluttered, but that all depends on the users activity. Up next, Personal Assistants. Bixby is still a Alpha that should not have been released yet, let alone a dedicated button. She isn't "hands-free" the slightest, requiring a lot of user input to function, and for someone that is driving, a no bueno. Luckily you can use the alternate Google Assistant which does a better job but Siri still has the trophy on this aspect. The Find my Phone is next to none if you don't know how to use it. As the iPhone has it as almost a requirement. Not many users will know it exists on Android, but there is one feature that iPhone does not have, is the disable the pin for your phone if you forgot it and only use your fingerprint. But once again, it is not a commonly known feature.
Android Root Use (Rooting and modifying the firmware's flash)
Pros:
Even further customization from what you have out of the box. I do not have much experience in this as I have not had any curiosity that out-weighted my fear of the risk. But from what I researched is complete control of your phone as you have root access and can control just about every aspect of your phone. Simple terms is without a root you are merely a user on a company controlled computer. With root you have Administrator privileges on your system. So you can modify your boot, your firmware. A lot of community contribution as well so you have help on multiple forums if you run into issues or looking for more things to modify the phone with.
Cons:
Very complicated for novice modifiers as it requires multiple flash packs. A sterile version of Odin which is a big ol risk in itself. And hoping you don't get blacklisted by your provider. Booting is very common to come across if your flash is outdated or failed to inject on boot. There are a lot of malicious hosts when it comes to the .apk's and hard for again. A novice user to follow the guides on how to root their own phone. So this aspect again I don't have much insight on so research is advised and more on the experienced user side.
This is all from my own perspective, research, and overall experience from the devices I have used in the past. Both are really good phones. But these are in my own opinions.