For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
StatusSupportDiscussionsLog inSign Up
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
Docs HomeAPI ReferenceVideo on DemandAI FeaturesLive StreamingVideo PlayerVideo DataCloud PlayoutRecipes
  • Player SDKs
    • Introduction
  • Web player
    • Install the FastPix web player
    • Play uploaded videos
    • Handle playback errors
  • Android player
    • Install FastPix Android player
    • Set up the player
    • Play uploaded videos
    • Handle playback errors
  • iOS player
    • Install FastPix iOS player
    • Play uploaded videos
    • Handle playback errors
      • Secure video playback
      • Play DRM-protected content
      • Use a custom domain
      • Switch audio tracks
      • Switch subtitle tracks
      • Add seek preview thumbnails
      • Enable Picture-in-Picture
      • Enable full-screen mode
      • Manage playlists
      • Add skip controls
      • Handle network changes
  • Flutter player
    • Install FastPix Flutter player
    • Play uploaded videos
    • Handle playback errors
LogoLogo
StatusSupportDiscussionsLog inSign Up
On this page
  • Set up full-screen
  • Toggle full-screen
  • Observe full-screen state changes
iOS playerAdvanced features

Enable full-screen mode

Was this page helpful?
Previous

Manage playlists

Next
Built with

Learn how to add smooth inline-to-full-screen transitions in the FastPix iOS Player.

The FastPix iOS Player provides a built-in full-screen manager for smooth transitions between inline and full-screen playback.

Set up full-screen

Initialize the full-screen manager with the parent view controller and the player’s container view:

1playerViewController.setupFullscreen(
2 parent: self,
3 container: playerView
4)

Toggle full-screen

Switch between inline and full-screen modes:

1playerViewController.toggleFullscreen()

Observe full-screen state changes

Listen for full-screen state transitions using a notification:

1NotificationCenter.default.addObserver(
2 self,
3 selector: #selector(fullscreenStateChanged),
4 name: Notification.Name("FastPixFullscreenStateChangedNotification"),
5 object: nil
6)