Afaik Apple offer official correction curves which Apps like HouseCurve use to provide somewhat accurate response measurements with the mics built into iPhones .
Though IIRC, even those correction curves are in some cases problematic.
In the end, I've yet to see a comprehensive measurement test of iPhone mics + Apple correction curves, compared against reference mics.
Though what you can be sure of is that, even in the case of suboptimal iPhone frequency response, the error will be a gentle shelf or Pass filter.
High-Q room modes will still be captured more or less faithfully.