Post not yet marked as solved
Hey,
I know almost nothing about coding, but I'm trying to create a personal app that has a bottom navigation / tab at the bottom and a web view above that with no navigation title or anything like that and if you press the navigation buttons at the bottom it would essentially bring you to a different page on my site. I tried to find tutorials on how to do this but they are either super old or don't exist.
So
1 - Is that even possible?
and
2 - how would you go about doing that?
I know some stuff about implementing the bottom nav bar, but what about having the actual tab page be a site?
Thank you :)
In the session, regarding prompting user for camera or microphone permission, the delegate method shown in the code snippet is the following:
func webView(_ webView: WKWebView, decideMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType) async -> WKPermissionDecision {
return type == .microphone ? .prompt : .deny
}
But, I couldn't find this method in the documentation. Instead, I found this:
func webView(_ webView: WKWebView,
requestMediaCapturePermissionFor origin: WKSecurityOrigin, initiatedByFrame frame: WKFrameInfo, type: WKMediaCaptureType, decisionHandler: @escaping (WKPermissionDecision) -> Void)
Which one is the latest? Thanks!
Post not yet marked as solved
Hi all,
Need help !!!!!!!!!!!
We have a desktop application which runs on OSX, but currently on Mac OS Monterey, the console UI part of the application is not showing up. It was showing up fine on MacOS Big Sur and earlier versions of OSX.
The console UI of the application is written using WebKit and JavaScript (jQuery), which internally makes use of NPAPI plugin to call native code from JavaScript. The WebKit tries to load the NPAPI plugin module, which is registered to the OSX and is placed under /Library/Internet Plug-Ins.
Until MacOS Big Sur, the application console UI was showing up since WebKit was able to load the registered plugin module successfully. Now on MacOS Monterey, the console UI is not showing up.
We are assuming that this issue is due to the fact that registered plugin loading by WebKit in MacOS Monterey is failing.
Can somebody please tell, if NPAPI plugins are deprecated from MacOS Monterey and is there any workaround for this issue ?
Post not yet marked as solved
http://kzmcherry77@gmail.com
Support
linkText
Post not yet marked as solved
I'm trying to put a view (html page) from a web extension into an iframe on a website. The html file is listed correctly in web\_accessible\_resources, however when I'm trying to load it, I get the following error:
Failed to load resource: The operation couldn’t be completed. (Cocoa error -1008.)
Post not yet marked as solved
I'm using Safari 14.0.2.
In the network tab, the Time column is just showing -- and not the time it takes to load the file requested.
If I click on the disable cache button, safari is still loading files from memory instead of requesting from origin.
Post not yet marked as solved
Hi Developers,
I created a custom oracle application which is working fine in Windows browser and android browsers, but not working within iframe in IOS15. Previously, it was working fine but after upgradation in IOS15 My application is not working any more within Iframe although it is working without iframe in same IOS testing Device which is useless for me.
i am trying to fix this issue from last 6 months
but unable to resolve.
Any pointers to solve this issue will be greatly appreciated.
Thanks in Advance
Post not yet marked as solved
Hello,
I need to understand if this is feasible.
I need to open a local HTML file placed in the temporary folder of an iOS Swift app in Safari, from the app itself.
At present time I know it is possible to open an Url in Safari, but I am asking about
1- using the file:/// scheme (like Android does)
2- providing directly the HTML text
I have this specific need not to use the WKWebView because I want that the user can exploit features like saving credentials, caching and so on.
I do not know if the WKWebView is able to provide this kind of features, and I do not want to have this kind of features directly in my app for security concerns.
Also other workarounds or solutions are welcome.
Thanks in advance
Post not yet marked as solved
I have a Button in Page A, when Button was click page will show "has click," and jump to another Page B, but when swipe back "has click" was still in Page A, Page A does not reload.
This Acton does not same with mac safari and PC Chrome, Why?
This URL is reproduce demo:
https://whatwg6.github.io/ios-safari-swipe-back/
Post not yet marked as solved
How I can enable WASM in chrome for iOS?
Post not yet marked as solved
There are always spaces above and below the page. The following is the code.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, viewport-fit=cover">
<link rel="stylesheet" href="./index.css">
<title>Document</title>
</head>
<body>
<p>Hellow World!</p>
</body>
</html>
html {
height: 100%;
background-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);
background-color: aquamarine;
}
body {
margin: 0;
}
The screenshot device is iPhone 12. In order to demonstrate more clearly, I set the background-color. I want to make the gradient fill full screen.
Post not yet marked as solved
I'm trying to figure out why voice over seems to be interrupting an alert role on a webview.
I'm on iOS 15.3 and starting an ASWebAuthenticationSession.
If an error occurs during login such as, Username and Password are not recognized an error would appear on the html.
<div id="authn-error" name="authn-error" role="alert">
$templateMessages.getMessage($authnMessageKey)
</div>
If all goes well VO reads out the error message but, sometimes it gets interrupted with the address bar.
When the page is loading the voice over moves to the error then shifts focus back to address bar and reads out the "Address ten percent someWebSite.com secure and validated".
Any help is appreciated.
Post not yet marked as solved
Hi, I'm working on screen recording in Safari. After permission prompted and recording started I see red icon with "screens" next to search bar and the same icon but with white color in tray. After clicking on such icon I can see "pause" option. Is it possible to catch event from that action or disable such option at all?
PS. Different icon appears in case when I try to record from camera or just from microphone but with same "pause" option.
Screenshots are attached
Thanks
Post marked as Apple Recommended
We’ve been waiting on a response for default browser entitlements since August 12th when we responded back to “default-browser-requests@apple.com” with the requested data (team id, team, bundle id) & a TestFlight like with the proper changes.
Now with iOS 14 out, our users are now expecting for defaulting capability like other major browsers.
What can we do to continue the process? We just want to deliver the best service to our users.
Best,
Whats the issue with Safari, WebGL and JavaScript performance, compared to other browsers Safari its a fullblown disaster. I think a saw a commercial stating Safari is the fastest browser ever ;-) hey, I can tell and show you, its not ;-).
Can someone please explain what the excuse is for this when you have unlimited of money and 10000 programmers;-)?
Post not yet marked as solved
I am trying to click a button programmatically using JavaScript. It is working in macOS Safari, but it doesn't work in iOS Safari. The document.getElementById("buttonid") returns the button, but when I click it, it doesn't do anything. I've spent a lot of time researching what could be the problem, but I couldn't find any solution. I assume it is somehow blocked on iOS.
Here is my code for clicking a button:
document.getElementById("buttonid").click();
Does anyone know what could be the problem? Thanks in advance
Post not yet marked as solved
Hi,
We are dealing in our product with an issue due to a mismatch about how the DNS TTL is handled in the backend compared with how the DNS TTL is handled in Mac device:
The issue is due to different TTL values of the DNS entry saved on the Mac device and backend. For the failure case (access to some web pages is not working on Safari), the Mac device holds a DNS entry for more than 5 minutes, but the backend keeps the entry for around one minute. It results in some missbehavior in the backend for the particular FQDN once the DNS entry on the backend expires.
Backend holds a DNS entry as per the TTL value specified in the A record. The Mac device appears to have a different logic, i.e., it considers the TTL value of the CNAME record instead of the A record.
Is it possible to confirm how the TTL is handled on macOS? is macOS caching the Cname TTL if the resource is accessed via a name and caches A record TTL if an A record is accessed?
Thanks
Post not yet marked as solved
It appears that safari web extensions can only go through the app store.
In order to distribute it outside, is it sufficient to use a valid Developer ID cert or does it need to be notarized?
I understand that users would have to click Allow Unsigned Extensions.
Do they have to do this every single time even if a valid cert is used to sign the app?
Post not yet marked as solved
I noticed user are unable to capture screenshot on Netflix content with Safari, I wonder which webkit API they use in order to make screen capture result black screen?
Post not yet marked as solved
I saw this page when I was checking for another alternative of -webkit-touch-callout. I have used this css property but still the callout "Copy, Lookup, Share" is getting displayed on selecting text in Safari browser. I want to disable this callout that is triggered on long press of any text. Is there any other way to disable these callouts in safari? Or should this css be applied at the element level for disabling?
https://read.kitaboo.com/reader/V5/#!/login