Yahoo Inc. and Apple Inc. are getting cozier.

The two companies have been discussing how more of Yahoo's services can play a prominent role on Apple's iPhone and iPad devices, people briefed on the matter said.

Apps powered by data from Yahoo Finance and Yahoo's weather site already come preloaded on iPhones. Some Yahoo data, such as sports...