Skip to content

iPhone and iPad

The iOS app puts the OwnTube web app inside native iOS navigation, and adds what a home-screen web app can’t do on iOS: playing in the background, Picture-in-Picture and a mini player.

  • Native tabs: Home, Subscriptions, Library and Search, each with its own back stack and the system back gesture. On iPad the tab bar can become a sidebar.
  • Player panel: a video slides up over what you were browsing. Swipe it down and it keeps playing in a mini player above the tab bar.
  • Background and Picture-in-Picture, with Now Playing on the lock screen.
  • Landscape: turn the phone and the video fills the screen.
  • Queue: under the video on iPhone, in a side column on a wide iPad. Playback continues through the queue, then related videos if Autoplay next is on.
  • Widget: Continue watching, from your queue.
  • Quick actions on the app icon: Resume, Search, Subscriptions and Queue.
  • Links: YouTube links and owntube:// links open in the app.
  • A Mac with Xcode, Node.js 24 or later and pnpm.
  • An Apple developer account. A free account works for your own devices, but its builds expire after 7 days.
  • iOS 17 or later.
  • A server the phone can reach. Away from home that means HTTPS on a domain or a VPN such as Tailscale.
Terminal window
cd apps/ios
pnpm install
cp .env.example .env # set EXPO_PUBLIC_OWNTUBE_URL to your server
pnpm prebuild # generates ios/
pnpm ios # build and run on a simulator

For a device, open ios/OwnTube.xcworkspace in Xcode, choose your team under Signing & Capabilities for both the OwnTube and OwnTubeWidget targets, connect the phone and run. Xcode’s automatic signing registers the App Group the widget needs.

Sign in on the web page inside the app. The app then pairs itself with your account in the background, so native playback and the widget work without a second sign-in. Signing out on the web signs the app out too.

The server address comes from .env at build time. Change it under Library → Settings; the app checks the new address and reloads.