Apple Inc.

(NASDAQ:AAPL) continued to outperform the broader smartphone market in the second quarter, but analysts caution that the industry's worsening memory shortage could weigh on demand for the rest of the year.

According to Counterpoint Research, Apple's global smartphone shipments rose 3% year over year in the second quarter, while its market share reached a record 20% for a second quarter.

The company was also the only major smartphone maker that did not raise handset prices during the period despite soaring memory costs.

Apple Outperforms Amid Industry Weakness Counterpoint said global smartphone shipments fell 11% year over year in the second quarter to their lowest second-quarter level since 2013 as DRAM and NAND shortages pushed up production costs and consumer prices.