Just did some research, and the camera quality itself is very similar. In certain shots, the note 9 camera looks better, but the iPhone looks better in a lot of other shots. The differences are very subtle and the colors do look a bit more vibrant on the note 9 but I bit more natural on the Xs Max
The main selling point is the fact that iPhones new portrait feature of adjusting dof after the picture is taken is way better than what Samsung has and its lowlight performance is better than the old iPhone and on par with the note 9
Still, to me the pictures look exactly the same and isn't anything near enough for me switching personally.
At this point, both phones are equally as good, it's just a matter of what you like.
Like I said, the reason why I'd prefer the note 9 is because the screen colors look better imo, I really hate the iOS software imo, I'd rather plug my own headphones in without a dongle, I like the s pen, I like the fully square display and a full notification bar, and i like a 1 hour full charge rather than a 2.5 hour or higher full charge (seriously, for an $1100 phone, it doesnt hurt to ship it with a fast charger.)
Dont get me wrong, the iPhone is a great phone, but for those things i mentioned, for me it is not worth it at all.