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

Mac Catalyst - Open NSViewController #1

Open
PrashantKT opened this issue Nov 12, 2021 · 1 comment
Open

Mac Catalyst - Open NSViewController #1

PrashantKT opened this issue Nov 12, 2021 · 1 comment

Comments

@PrashantKT
Copy link

PrashantKT commented Nov 12, 2021

Hi , I have read your awesome article

I have similar requirement need your help
In Mac catalyst WKWebview. -I am trying to make voice / video call but it is not working like it is not asking for camera and microphone permission

in iOS and iPad os it is working fine ,

So it might be a bug of Mac catalyst, I have created Mac app to test similar thing where it is also working fine.

my question is is It possible to show NSVIewController which has WKWebview from Mac catalyst app ,

I don't know I have put my requirements clearly or not.

I have attached Mac app with simple WebView , when you try to access the call option it will prompt the permission but it is not asking in the Mac catalyst

WebviewTest.zip

@erikhric
Copy link
Owner

Hey @PrashantKT, did you try asking for permissions manually before showing web view? I've been using https://github.com/jevonmao/PermissionsSwiftUI and it works great :)

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