I've had both, always had android but after having an iPad thought I'd give iPhone a try and I like it better. Galaxy was good but the phone slowed down after having apps and stuff, which I've always been use to androids lag when switching to different apps and turning it off/on and stuff, but once I got on iPhone that lag is gone. I also like the camera better on iPhone, I don't know which is better but I personally like iPhones camera better. I also have a youtube channel and was always looking for a video editing app on android and I never found one. There may be some now but iPhone has always had a larger amount of apps. It really wasn't hard to get a video editor on iPhone at all. (Video editing was my main reason for getting the iPhone tbh) I think iPhone is a lot less laggy in general when it comes to games and stuff, I use to like android because music and games were almost always free but now on iPhone you can download apps that let you do things for free.
If you like to customize things a lot then you should probably get an android though. One thing I really liked about android was that you can change your phones look and even make your android unlock like an iPhone or have the keyboard of an iPhone by using launchers. Or you could personally customize your keyboard with pictures of colors and stuff. But in the long run the android slows down a lot because it's like a mini computer, and every computer wears down and slows down. I'm not saying it will do that right away but after a while it will.
But on another point, most android users who switched to iPhone like the iPhone more. Most iPhone users who switch to android like android more. That's something I've learned. So if you have android, switch to iPhone. If you have iPhone, make the switch to android and I'm sure you'll be happy with whatever phone you pick.