Shares of Apple AAPL –0.99% edged higher in late trading Thursday after the company’s latest quarterly results came in better than analysts expected.