Apple snapped out of a prolonged sales slump during its most-recent quarter. The results Thursday came as the trendsetting company is preparing to launch into the artificial intelligence craze with an arsenal of new technology that’s expected to juice demand for its next iPhone. The fiscal third-quarter results covered an April-June period that’s typically a sluggish stretch for Apple as its loyal customer bases awaits the next version of the iPhone that’s traditionally unveiled shortly after Labor Day. Even so, Apple boosted its sales from a year ago — a welcome reversal of fortune on the heels of five consecutive quarters of year-over-year revenue declines.