This is one of the most popular questions on Ask.com lol. Sometimes everyone says iPhone, sometimes everyone says Galaxy. But in the end, why does it matter what a bunch of strangers say? If you do your research on each device, you will find both flaws and good points. If you ask the question, your answer may just depend on what batch of people you get to respond.
There are too many questions on this site of people asking how to fix their iPhones and from watching my family use their iPhones, no way. I have on numerous occasions had someone try to pull some info up on their iPhone and get so frustrated, and I will pull my Samsung out and get the info in seconds. There is no way you will get me to get an iPhone.