Apple was the world’s largest smartphone maker in the second quarter, shipping 16.9 million iPhones in the three-month period ended in June. That’s according to...