I cannot say about iphones. I have never used one, but OnePlus phones are really good. I bought OnePlus 6T when it came out and it is still running smooth. It also recently received a UI update. So they are future proof.
I would say go with the OnePlus.