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

Provide Render Size #6

Closed
Sherlouk opened this issue Jul 1, 2022 · 0 comments · Fixed by #8
Closed

Provide Render Size #6

Sherlouk opened this issue Jul 1, 2022 · 0 comments · Fixed by #8
Labels
good first issue Good for newcomers

Comments

@Sherlouk
Copy link
Contributor

Sherlouk commented Jul 1, 2022

Apple provides us with a delegate call whenever the render size of the PiP window is changed. This is because not only does Apple themselves mostly decide the size, but also the user can resize the window.

Some clients may wish to dynamically change what content is shown based on how large the window is on the screen - as such it would be good to route this information through to the view when we render it. This could likely be done with a custom environment key.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant