Early iPhones and iPod Touches (for the first 3–4 years) had much smaller color gamut than the recent ones, not matching any standard. They also did no color management whatsoever, with the result that colors and color relationships of basically all content were always fairly dramatically wrong [at least to my eyes, as an amateur photographer and amateur graphic designer who cares a lot about precise color rendering].
Some app authors and content producers put in the effort to understand and specifically target the iPhone display, e.g. by gamut mapping their images beforehand. But I would guess that “some” to be significantly less than 1%. (Though I suppose you might consider the exaggerated-color Instagram filters we’re discussing here to be one sort of gamut mapping, targeting the relatively muted display.)
At some point Apple started making all of their devices very precisely hit the sRGB spec, so even though iOS still did no active color management, that made things a lot better, at the expense of making it impossible to accurately target colors at all iPhones for a while because different models had different gamuts. If you go look up the historical tech specs and display teardowns for different iPhone generations, I’m sure you can figure out exactly which version was the first to be close to sRGB. [More recently, I believe they now also do some color management, though I haven’t really investigated this in a few years.]
The first couple iPad mini versions also had a smaller-than-sRGB color gamut and no color management (I have one of these). I’m not sure about the earliest full-sized iPads.
Of course, this is all still better than Android where there is extreme fragmentation and every display looks slightly different.