Apple, along with four major ebook publishers, have offered retailers such as Amazon the option to set their own prices for e-books for the next two years in a bid to end an antitrust investigation in the E.U.