Skip to content

Add the option to customize the window picker presentation config #5

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

Open
EchoEllet opened this issue Jan 21, 2025 · 0 comments
Open
Labels
enhancement New feature or request

Comments

@EchoEllet
Copy link
Contributor

EchoEllet commented Jan 21, 2025

  • The plugin presents the PHPickerViewController as a sheet, it could also be displayed as a modal window (presentAsSheet or presentAsModalWindow). Provide an enum to allow overriding this.
  • The sheet minimum and initial size are hardcoded by setting a frame to the PHPickerViewController's view. The behavior is similar to the default behavior when displaying the picker using PhotosPicker in a macOS SwiftUI app. Provide a config class to allow overriding the default.
  • See if there are any other properties that clients might want to override to fit the requirements.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant