(AP) Apple says it sold 39.3 million iPhones in the last quarter, or 16 percent more than a year ago, which is a record for the quarter. That’s partly due to excitement over new iPhone 6 and 6 Plus models that Apple began selling last month. The surge in iPhone sales helped the company beat Wall Street’s expectations for the three months that ended Sept. 27. Overall, the company’s profit rose more than 12 percent from a year ago, to $8.5 billion. Total sales also rose more than 12 percent, to $42.1 billion. While iPhone sales were up, Apple also sold 13 percent fewer iPad tablets than it did a year ago. That follows an industry-wide decline in tablet sales. But the company reported lower iPad sales than analysts had expected.