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

请问如何在swiftui中选择一个图片? #827

Open
swanfly opened this issue Jun 16, 2023 · 1 comment
Open

请问如何在swiftui中选择一个图片? #827

swanfly opened this issue Jun 16, 2023 · 1 comment

Comments

@swanfly
Copy link

swanfly commented Jun 16, 2023

how to select one picture in swiftui project?

@ebamboo
Copy link

ebamboo commented Jan 9, 2024

好像不行,这个工具的show方法本质是在ViewController的view上添加子视图,尺寸受限于这个VC,并且还做了一些其他权限判断和动画效果。因此我们不能把他当成一般的UIview控制显示和隐藏,所以也不方便桥接至SwiftUI。
建议作者君提供一个 ViewController 或者 view,让使用者自己编程实现显示如modal或者push方式显示选择器

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

No branches or pull requests

2 participants