Increases in iPhone and Apple services were not enough to offset declines in other product categories, but even so, the company’s revenue beat analysts’ expectations.

iPhone 14Photo: SYSPEO / Sipa Press / Profimedia

Apple’s revenue in the second quarter of this year amounted to $94.84 billion, which is 3% less than in the same period last year. This is the second consecutive quarter of decline for the American company, but the results exceeded analysts’ expectations of $92.96 billion.

The company’s profit for the same period was $24.16 billion, also down 3% from last year.

The iPhone and services were Apple’s strong points last quarter. iPhone sales rose 2% year-over-year to $51.33 billion. Services brought in $20.9 billion, up 5% year over year.

On the other hand, Macs fell 31% to $7.17 billion, iPads fell 13% to $6.67 billion, and the Wearables, Home & Accessories category fell 1% to $8.76 billion.

Tim Cook apologized for the sharp drop in laptop and tablet sales, saying they previously had a very strong quarter that was difficult to replicate, in which it grew due to new product launches.