My friends weren't taking RAWs from their iPhones, so that part didn't really make any difference. (I actually don't think I've encountered anyone who does that!) I don't have an iPhone, but when I've tried RAWs on some other smartphones, they weren't nearly as good as from DSLRs. In fact I sometimes found it hard to even get the quality of their own JPEGs from the RAWs.
(Lenses can of course add another factor, but everything I mentioned is with stock lenses.)
As someone else noted, DSLRs really win on lenses. Also things like high burst rate, high shutter speeds, etc. (And the viewfinder can be handy for better framing and just seeing what you're shooting).