Apple’s iPhone was the fourth most popular smartphone platform by worldwide sales in the second quarter, according to the latest data from Gartner. Apple sold 8.7 million units in Q2, good for 14.2% of the smartphone market, compared to 5.3 million units, or 13% of the market, in Q2 2009. The iPhone’s growth was overshadowed by that of Android-based smartphones, however, as sales of Android devices went from roughly 756,000 in Q2 2009…