O'Reilly logo

Swift Game Development - Third Edition by Stephen Haney, Siddharth Shekar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Adding In-App Purchases

We will add a very simple in-app purchase in the game so that, if the player wishes, they can pay the minimum amount to remove the ad at the bottom of the screen.

For this, we need a paid developer account to add in-app purchases. The annual fee is 99 USD, and with this you can publish on the iOS / macOS App Store. Once you have paid Apple the amount, signed the contract, and updated your tax and banking information, go to itunesconnect.apple.com and My Apps:

Adding In-App Purchases

Create a new app by clicking on the + sign in the upper-left corner of the page:

Select the Platform, Name, Primary Language, Bundle ID, and SKU.

If you don't have a

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required