Without the gain, the company would have reported a loss of 6 cents a share.
The current quarter is expected to result in a loss of about 20 cents a share, he added.
Analysts had expected a loss of 4 cents a share.
For the same quarter last year, the company had a loss of $45 million, or 13 cents a share.
A year ago, Apple reported a loss of $69 million, or 56 cents a share.
Wall Street had expected a loss of 19 cents a share.
A year earlier, the company had a loss of $1.4 million, or 3 cents a share.
Wall's Street had expected a loss of 22 cents a share.
A year earlier it had a loss of $3.8 million, or 9 cents a share.
In 1993 the company reported a loss of 30 cents a share.