The tech titan has reached a deal with Warner Music that will help pave the way for its long-awaited streaming music service, The Post has learned.

Warner is said to have secured a 10 percent cut of the ad revenue from the upcoming streaming radio service, according to sources.

No. 3 Warner is the second major label to reach an agreement with Apple, which already has a deal with Universal Music.

Warner, however, was the first to negotiate rights for both its publishing catalog and its recorded music division at the same time. With Universal, Apple had to strike separate deals for the recorded and publishing sides.

Sony Music and its publishing sibling, Sony/ATV, are still at odds over payment from Apple, although a deal with Warner could make it tougher to hold out.

Apple is expected to announce the streaming service at its worldwide developer conference on June 10.

The news will likely put pressure on Pandora, which is the established streaming player, with 70 million active listeners and 7.33 percent share of US radio listening in April 2013.