Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Picture in Picture sample screen layout on tvOS #329

Merged
merged 4 commits into from
Nov 27, 2023

Conversation

rolandkakonyi
Copy link
Contributor

Description

Found that on tvOS playback can not be controlled when using the Picture in Picture sample screen.
This is due to the player not taking the whole screen. This is a feature from Apple to not have controls for inline players shown.

Changes

Replaced SafeAreaView for tvOS with View works now.

Note: I tried changing edges property to [] but that didn't work as expected on tvOS simulator.

Before After
Simulator Screenshot - Apple TV 17 0 - 2023-11-24 at 11 03 05 Simulator Screenshot - Apple TV 17 0 - 2023-11-24 at 11 01 08

Checklist

  • 🗒 CHANGELOG entry

@rolandkakonyi rolandkakonyi self-assigned this Nov 24, 2023
@rolandkakonyi rolandkakonyi force-pushed the fix-PiP-sample-for-tvOS branch from f0680b3 to 4da61e3 Compare November 24, 2023 10:39
@rolandkakonyi rolandkakonyi marked this pull request as ready for review November 24, 2023 10:41
Copy link
Contributor

@123mpozzi 123mpozzi left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems good!

@rolandkakonyi rolandkakonyi merged commit 5d33a4c into development Nov 27, 2023
9 checks passed
@rolandkakonyi rolandkakonyi deleted the fix-PiP-sample-for-tvOS branch November 27, 2023 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants