GAMEATLAS
Search

Search Game Atlas

Type > for actions ↑ ↓ Select · Enter Open
Saved 0
← Guides

How to ship a browser game on iPhone and iPad

If your game already works well on touch, you can share it through Safari today. When you need an App Store release, a bundled WebView app lets you keep the game you built.

Requirements checked

Choose how players install your game

RouteInstall and runtimeWhat you reuse and what you buildCost and updatesWhen to choose it
Safari or Home ScreenPlay from a link or add the site to the Home Screen. The game runs in WebKit.Keep the web build. Add touch controls, a manifest and icons. Cache files if you promise offline play.Budget for hosting and traffic. Deploy updates to the web host and manage cache turnover. Share a URL with players.The shortest route for a playtest or a web-first launch. Choose a signed app when you need an App Store listing or a native capability.
Capacitor + WKWebViewInstall a signed iPhone and iPad app through TestFlight or the App Store. The bundled game runs in WKWebView.Keep HTML, CSS, JavaScript or WASM, assets, rules and renderer. Maintain the native shell and any plugins.Apple membership for distribution, plus build and support costs. Bundle each game update, sync, sign and upload a new build.Try this first for a complete touch-ready game that runs well in WebKit and would benefit from an App Store release.
SwiftUI or UIKit + WKWebViewInstall a signed app through TestFlight or the App Store. The web game still runs in WKWebView.Keep the web build. Own the native screens, navigation, files, input, lifecycle and bridge instead of relying on Capacitor plugins.Apple membership for distribution. Maintain the Swift project, signing and release pipeline. Bundled updates go through a new app build.Choose it when precise control of the shell or platform UI justifies maintaining that code yourself.
Expo / React Native + WebViewInstall a signed React Native app through TestFlight or the App Store. The game runs in WKWebView.Reuse the game in React Native WebView. Build the native screens and decide how to package and locate the web files.Apple membership for distribution. Budget for React Native upgrades and your EAS or local macOS build setup. Update bundled assets with a new build.Use it when you already have a React Native app or need substantial native navigation, menus, settings or account screens.
Native engine export or portInstall a signed app through TestFlight or the App Store. The engine or native renderer runs the game.Export an existing engine-native project, or port the web game’s rendering, controls and platform code. Reuse assets and portable rules where practical.Apple membership for distribution, plus engine terms, porting and build costs. Release signed updates and maintain the new runtime.Export if the engine already owns the game. Port when a measured performance or platform requirement justifies the extra work.

WebKit Home Screen apps ·Apple WKWebView ·Capacitor iOS

Ship through Safari first

  1. Host the production build over HTTPS. Test the real URL on both devices. Check asset paths, fonts, cross-origin requests and how a returning player loads an older save after you deploy new assets.
  2. Make it playable with touch. Use a responsive viewport, deliberate touch targets and layout around safe-area insets when drawing edge to edge. Preserve normal zoom and scrolling outside the game canvas. Let the first deliberate tap unlock audio.
  3. Give the Home Screen icon a proper launch. Link a web app manifest with a name, icons, an in-scope start URL and a display mode. Supply an Apple touch icon. If you offer offline play, use a service worker to cache the shell and the assets needed to start it. Test once after caching and again after an update.
  4. Install it on each device. In Safari on iPhone, use Share, under the Page Menu when needed. On iPad, use Share in the toolbar and open View More if needed. Choose Add to Home Screen, enable Open as Web App when offered, then tap Add. If the action is missing, look under Edit Actions. Launch from the icon and repeat the first level there.

Share the HTTPS link for discovery and feedback. Test the browser tab and the Home Screen app separately, including storage, feature detection and actual offline behaviour. Your hosting and asset bandwidth are the main distribution costs for a static pilot.

Apple iPhone instructions ·Apple iPad instructions ·WebKit manifest and icon guidance ·Service worker lifecycle

Worked example with Capacitor

Garden Defence stands in for a static Vite game whose pnpm build writesdist/index.html and its assets. Run the commands from your game’s package directory, with a Node version supported by both Vite and Capacitor.

Install one matching Capacitor version

The example pins the three packages to 8.6.3, the stable versions checked on the date above. Commit the lockfile. Check your plugins together before changing major versions.

pnpm add -E @capacitor/core@8.6.3 @capacitor/ios@8.6.3
pnpm add -D -E @capacitor/cli@8.6.3

Point the shell at the production build

Create capacitor.config.json beside package.json. Replace the example bundle ID with one you own. webDir must contain the built index.html. Use a static output if your web project normally expects a server to render routes.

{
  "appId": "com.example.gardendefence",
  "appName": "Garden Defence",
  "webDir": "dist"
}

The app loads its bundled HTML, scripts and assets locally. Gameplay can still call necessary HTTPS services. Review fonts, textures, audio, workers, routing and API requests from the packaged origin. Prefer bundled startup assets. Capacitor’s server.url is documented for live reload. A production shell loading a remote site depends on network availability and needs its own update and App Review analysis.

Generate the iOS project and sync changes

Build the web game first. Add iOS once using Swift Package Manager for this example. If a plugin lacks Swift Package Manager support, check its installation instructions before choosing the project’s dependency manager. For subsequent web or plugin changes, run pnpm build andpnpm exec cap sync ios again. Keep the iOS project and intentional native changes in version control.

pnpm build
pnpm exec cap add ios --packagemanager SPM
pnpm exec cap sync ios
pnpm exec cap open ios

Use a Mac with full compatible Xcode and iOS platform support for local building, debugging and archiving. A managed macOS builder can compile and sign for you once the project and credentials are configured. A browser preview or generated iOS project is only the start of device verification.

Add Capacitor to a web project ·iOS setup ·Swift Package Manager setup ·Configuration ·Build and sync workflow

Configure iPhone and iPad in Xcode

  1. Open the app target. Check the bundle identifier, choose your Team under Signing & Capabilities, and use automatic signing to start. Set the version and increment the build number for uploads.
  2. Include iPhone and iPad in supported destinations and check Targeted Device Family (values 1 and 2). Choose orientations your game properly supports and set the minimum deployment target against your actual device list. Test iPad resizing and multitasking where supported.
  3. Run the installed app, play past the title screen and test saving, audio and an offline cold start if promised. A web save and a wrapped app save live in different storage contexts. Plan an import or account sync if your existing players need continuity.

Xcode distribution ·iPad windowing and resizing

When a different app shell earns its cost

A SwiftUI or UIKit shell around WKWebView makes sense when you need to own navigation, files, input or lifecycle details. Scope the bridge to the game’s trusted content and handle other sites outside the privileged view. With Expo, installreact-native-webview, set ios.supportsTablet and a bundle identifier, and choose a compatible EAS macOS build image if using a cloud build. A remote URL and a bundled multi-file game have different loading and offline behaviour. Expo GL or native rendering would be a separate port.

WKWebView ·Expo WebView ·Expo tablet configuration ·EAS Build

Existing Godot, Unity or Unreal projects can use their respective iOS export or packaging pipelines. For a game built in browser JavaScript, a native renderer takes porting work. SpriteKit is an option for a deliberate native 2D port. Metal offers even more control and more renderer work. Profile your current game on hardware before funding either.

Godot iOS export ·Unity iOS build ·Unreal iOS packaging ·SpriteKit ·Metal

Safari 26 supports WebGPU on iPhone and iPad. Test renderer initialization and a demanding level inside your installed WKWebView on the minimum device and OS you intend to support. Keep a tested WebGL fallback if that device range or a failed WebGPU initialization needs it. Compare frame pacing, heat, memory and recovery after suspension with the Safari build.

Safari 26 WebGPU support

Prepare the App Store release

Upload requirement in November 2026
Xcode 26 or later and iOS/iPadOS 26 SDK or later. Apple’s current deployment target floor is iOS 13.
Capacitor 8 tooling
Capacitor documents Xcode 26 or later and iOS 15 or later. Pick the minimum OS that also meets your game, plugins and actual device requirements.
Published change from April 2027
Apple lists iOS/iPadOS 27 SDK or later for uploads and an iOS 15 minimum deployment target.

The SDK controls what you build with. Your deployment target controls which OS versions can install that binary. Check both before choosing a minimum device and when selecting a cloud build image.

Current Apple requirements ·Published April 2027 requirements ·Capacitor support floor

  1. Test before paying. Use Safari, the Home Screen build or the Xcode simulator where available. A free Apple Account can test on your own devices with Personal Team provisioning limits. Apple lists Developer Program membership at US$99 per year or local equivalent for TestFlight and App Store distribution.
  2. Archive and upload. In Xcode, archive the signed app target for iOS and upload it through Organizer to the App Store Connect record with the matching bundle ID. Run an internal TestFlight build. Complete beta review for external testing when required.
  3. Prepare the store record. Provide the age-rating answers, app icon, screenshots of actual gameplay for supported device families as required, privacy answers, privacy policy, support link and any applicable export or territory details. Include required-reason declarations and privacy manifests for your app and SDKs where applicable.
  4. Submit and release. Select the tested build, explain how to reach the playable game in review notes and provide a reviewer account if sign-in is required. Confirm server access for reviewers, submit to App Review, and choose the release timing after approval.

Apple Developer Program and Personal Team ·TestFlight ·Submit to App Review ·Screenshot specifications ·Privacy manifests

Review the actual game and its distribution model

Guideline 4.2 looks at the submitted app’s substance and usefulness. Show the complete game and its device-appropriate controls in your submission. Guideline 4.7 covers apps hosting certain software delivered outside their binary, including HTML5 mini games, and adds obligations such as content handling, age controls and an index with universal links. A standalone bundled game and a remote mini-game portal have different review considerations. Review 2.5.2 before planning remotely delivered code or features. Apple reviews the submitted build and business model.

For paid digital content, check section 3.1 and the terms for the storefront where you will sell. In-app purchase rules, eligible programs and external payment options vary. Where relevant, test entitlement delivery, restore and refunds. Apple’s EU Web Distribution program installs a signed, notarized native app under separate eligibility and regional terms. Adding a Safari site to the Home Screen uses the web distribution path described above.

App Review guidelines ·Payments and storefront rules ·Apple EU Web Distribution eligibility

Acceptance checklist on iPhone and iPad

Use a physical lower-end iPhone from your supported list and a physical iPad. For the iPad, check that the layout works when resized and the app target includes iPad. Then play through the game on the device. Record the build, OS, device and selected renderer for each check.

  • Finish the first playable loop with touch alone. Test simultaneous fingers, drag cancellation and button targets. Check controller and pointer input if advertised.
  • Check safe areas, readable text, the smallest iPhone viewport and a large iPad viewport. Rotate and resize in every supported mode, including iPad windows where available.
  • Test online first launch and a cold start in airplane mode after closing the app. Confirm promised offline levels work and network features explain what is unavailable.
  • Start audio from a deliberate tap, then test a call or other interruption, backgrounding, lock and resume. Check that simulation time and inputs recover correctly.
  • Make a save, fully close the game and reload it. Install an update over that build and check progress, schema migration and recovery from an interrupted save.
  • Play a demanding scene long enough to observe frame pacing, sustained performance, heat or memory pressure. Confirm the chosen renderer and exercise any WebGL fallback or unsupported-device message.
  • Install the signed TestFlight build on both devices. Check bundle ID, build number, icons, entitlements and first-run behaviour before submitting that build to App Review.

Apple compatible-device testing