Apple Inc. reported better-than-expected quarterly results on strong iPhone and iPod sales, while Mac computer sales were slightly down.

Net income amounted to $1.21 billion, or $1.33 a share, Apple said today in a statement. Sales were $8.16 billion in the period, which ended March 28.

Analysts predicted profit of $1.08 a share and sales of $7.95 billion, according to a Bloomberg survey.

Shares of the Calif.-based company were recently up 2.06 percent to $124.01 in after hours trading.

The company said IPhone sales more than doubled to 3.79 million in the March quarter, while it sold 11 million iPod media players, up 3 percent.

Apple sold 2.22 million Macs in the quarter, down 3 percent from a year earlier and the first time since in six years that sales have fallen.

Looking ahead, the company which is notorious for giving conservative guidance said it expects third-quarter sales to be $7.7 billion to $7.9 billion, with profit of 95 cents to $1 a share.

Wall Street was expecting current-quarter earnings of $1.12 a share on revenue of $8.3 billion.