If you sell through the Apple App Store, Apple charges 30%. This is the industry standard when you sell through storefronts PlayStation, Steam, Xbox, etc. If they sell through their website then Apple doesn't charge any fees.
They knew well ahead that Apple would take a 30% cut so I don't understand why some commenters are saying about why this is a "problem."