Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Beginner’s Guide to iOS In-App Subscriptions
Rating: 3.3 out of 5(6 ratings)
50 students

Beginner’s Guide to iOS In-App Subscriptions

A Step-by-Step Guide to Monetizing Your SwiftUI Apps
Created byMohammad Azam
Last updated 11/2025
English
English [Auto],

What you'll learn

  • Understand how in-app purchases and subscriptions work in iOS apps.
  • Set up StoreKit 2 and configure subscription products in App Store Connect.
  • Build a complete paywall and subscription flow using Swift and SwiftUI.
  • Handle purchases, entitlement checks, and restore purchases correctly.
  • Unlock premium features safely using StoreKit 2 best practices.

Course content

1 section13 lectures2h 13m total length
  • Introduction1:34

    Explore how to implement StoreKit in-app purchases and subscriptions in iOS apps, illustrated by the My Veggie Garden example, and learn how to add subscriptions to your own apps.

  • Tour of the Starter Project3:50

    Take a tour of the starter project, inspect the veggie store and JSON data, and learn how free and locked vegetables pose a paywall in the iOS in-app subscriptions flow.

  • Displaying Free Vegetables and Locking Paid Ones8:50

    Learn to display a vegetable catalog with three free items while the rest are locked, using an environment-injected veggie store, accessibility logic, and a paywall flow for premium items.

  • Setting Up Subscriptions on App Store Connect11:45

    Learn to set up subscriptions on App Store Connect by creating a subscription group, configuring annual and monthly plans, product IDs, pricing, localization, and required metadata.

  • Fetching Products10:46

    Fetch and display purchase products from StoreKit via App Store Connect product IDs, configure StoreKit, and use an observable store to show monthly and annual subscriptions in the paywall.

  • Displaying Products8:30

    Display iOS in-app subscription products in SwiftUI by loading StoreKit products, showing names and prices, and sorting by price while enabling selection with a check mark.

  • Adding Pro Subscription Benefits & Using AI for Design Inspiration9:57

    Refactor the in-app subscription user interface to showcase pro benefits and a single-screen layout, switch to StoreKit products for purchases, and outline the purchase flow with ai design inspiration.

  • Making a Purchase14:29

    Learn to implement an in‑app purchase flow with storekit, including selecting a product, presenting the paywall, handling outcomes, and verification, plus entitlements testing.

  • Refreshing Entitlements10:51

    Refresh entitlements uses StoreKit to update active transactions and the pro user flag after a purchase, ensuring the user interface unlocks pro features based on current entitlements and product IDs.

  • Unlocking Pro Features for User Interface18:58

    Explore implementing in-app subscription workflows, unlock pro features, handle paywall outcomes, and use StoreKit to reset purchases, simulate transactions, and display toasts for purchase status.

  • Terms of Use, Privacy Policy and Subscription Screenshots16:54

    Add terms of service and privacy policy links to the paywall and App Store descriptions, ensure auto-renewable subscriptions and 1024 by 1024 screenshots, and configure App Store Connect metadata.

  • Integrating Apple Store Notifications API17:05

    Set up Apple Store server notifications and expose a webhook for purchase, refund, and renewal events in sandbox. Test with ngrok and Postman, then decode signed payloads to inspect subscriptions.

  • Bonus Lecture0:15

Requirements

  • Basic understanding of Swift and Xcode (no advanced skills needed).
  • A Mac computer running the latest version of Xcode.
  • An Apple Developer account (free or paid) for testing purchases.
  • No prior experience with StoreKit or in-app purchases required.

Description

If you want to build a successful iOS app today, learning how to implement in app purchases and subscriptions is one of the most important skills you can gain. Almost every modern app relies on subscriptions in some way. They power sustainable business models, unlock premium experiences, and allow independent developers to earn meaningful income from their work.

This course gives you a clear and practical path to understanding StoreKit 2, App Store Connect, and the real workflow that professional developers use to design and deliver subscription features. You will not just watch code being typed. You will understand how each piece fits together and how real apps handle purchases, upgrades, free and paid content, and more.

What you will learn

  • How to set up subscription products correctly in App Store Connect

  • How to present free and locked content in a way that makes sense to users

  • How to fetch and display products using StoreKit 2

  • How to guide users through a smooth purchase flow and handle errors with confidence

  • How to refresh entitlements so that users always have the right access on all of their devices

  • How to unlock premium views, features, and screens based on the user’s subscription status

  • How to set up Terms of Use and Privacy Policy links that the App Store requires

  • How to integrate Apple’s server notifications API to stay updated on subscription changes

  • How to use simple AI tools to create clean subscription artwork for your app

Hands on learning

Throughout the course you will follow a real app example, a vegetable gardening app that demonstrates how to lock and unlock content, manage Pro features, and present a paywall that looks professional and trustworthy. You will see how everything comes together in a real project rather than isolated code snippets.

Why this matters

The iOS landscape has changed and subscriptions have become the heart of many successful apps. Understanding how to design and implement them well will help you stand out in the job market and will give you the ability to build apps that generate ongoing revenue. This course shows you the complete process in a friendly, approachable, and practical way.

This is one of the most important and future proof skills an iOS developer can learn. If you want to level up your career or finally build an app that earns money, this course will guide you every step of the way.

Who this course is for:

  • iOS developers who want to learn subscriptions and in-app purchases from scratch.
  • Beginners who have never worked with StoreKit or monetization before.
  • SwiftUI developers looking to add premium features to their apps.
  • Indie developers who want to monetize their apps using subscriptions.
  • Anyone curious about how to implement modern StoreKit 2 in iOS apps.