xcode webview file open dialog not showing - xcode

I created an osx application in xcode that shows a webpage using a webview. But for some reason it is not showing the file open dialog in my webpages.
Safari and chrome seem to be fine so the page seems to be ok.
The only related setting for the webview i can find in xcode is "enable popups" but that's enabled. Does anyone know why this might be happening?
Thanx
Wouter

Related

How can I debug my Safari App Extension when I load it from electron?

I have an Electron App that loads a Safari App Extension in the Safari Browser.
When I open the browser, I can see my extension listed in Safari -> Preferences... -> Extensions.
As soon as I enable it, I see the Toolbar Icon appear then disappear.
Is there a way for me to debug my extension when it is loaded from Electron?
After some research I found out that we can find crash logs on a Mac machine in ~/Library/Logs/DiagnosticReports/

Safari macOS content blocker only works once

Strange problem. I'm building a safari content blocker. When I run the host app the content block extension appears in the safari extensions preference window. Everything works fine. Except, it only works the first time I run it. Subsequent times nothing happens, nothing appears in the preference window. The extension is missing. I have no idea why and my search didn't yield a solution.
I tried with Safari 12 and 13 beta. macOS 10.14.5
Tried building a new content blocker, same result.
check to make sure that Allowed Unsigned Extensions is selected under the Develop menu.
If so proceed with the below.....
Close Safari
In XCODE you need to Clean Build folder. XCODEMenuBar>Product>{click stop if clickable}>Clean Build Folder.
Now rebuild.
Open Safari>Select Allow Unsigned Extensions from develop menu.
Safari>Preferences>Extensions> now your extension should show up.

Web Inspector on Mac is empty when connected to iPad

I am struggling to use the Web Inspector on my Mac to inspect the webpage on my iPad. This is what I have tried so far:
I have turned on web inspector on my iPad.
I have checked that cookies are enabled on both the Mac and the iPad.
I have connected my iPad up to my Mac with a cable.
On the Mac, under the develop menu I can see my iPad - when I hover
the mouse over the visible tab, the webpage on my iPad highlights with blue. Clicking that brings up the Web Inspector on my Mac.
When I hit refresh in the Web Inspector on my Mac, the page on my
iPad refreshes.
There is obviously a connection between my iPad and my Mac.
However, the rest of the Web Inspector on my Mac seems empty.
The Elements tab is empty. The Network tab shows an empty list (headers only), even after a refresh. The Resources tab is empty. The Timelines tab is empty. The Debugger tab is empty and shows no sources. The Storage tab is empty. And the Console tab shows nothing, despite numerous calls to console.log from my webpage on the iPad.
I have also tried opening a private browsing window on my Mac and tried connecting to my iPad via the Web Inspector from there. Still no joy.
I am using Safari version 11.1.1 on my Mac. I am unsure how to check the version number of Safari on my iPad. I am an experienced Windows user but have limited experience with Macs. Please let me know if there is any further information that I could provide.
Can anyone help me in getting the Web Inspector to work properly between my Mac and my iPad? Many thanks.

How to uninstall the FireFox simulator from browser

I would like to know how to uninstall the FireFox simulator from the Mozilla browser.
Because I have this message error on top of the window:
ReferenceError: debuggerSocketConnect is not defined
P.S: The simulator starts perfectly!
Enter about:addons in the URL bar.
Look for the Firefox OS versions you want to get rid of and click the delete button.

iOS 8.1.2 input ="file" doesn't work in UIWebView

I am trying to upload file from a UIWebView that is presented modally.
It works fine in iOS 7 but in iOS8 i have the options to take a picture or choose from existent and when i click in anyone of the options list the web view is dismissed and no file uploaded.
Can anyone help me please?

Resources