In my application, I am using a chatbot inside the WKWebView. Chatbot sometimes asks to upload the image or file and the system provides access to photos and files.
I have already included privacy permission in my app even after declining permission webview still can access the resources.