Post not yet marked as solved
I made an app that is basically a WebView wrapper of a mobile site with tweaks. On startup, it loads up a particular site that the user can navigate according to his will. I understand that Apple rejects apps with minimal functionalities and those which are just a copy of the website.
However, I have added additional functions like uploading and downloading content, internet availability checkers, a custom error screen, progress bar, pull to refresh etc.
Also, another incentive of using the app is that the user gets to have an uninterrupted continuous session whereas he is logged out after a specific time of inactivity in the mobile site.
Are these features sufficient to get your WebView app approved on the App Store ( / do I need to add additional functionalities) or will the App Store flatline reject the app because it is based on a WebView Wrapper ? What is the App Store's policy on this ?
Post not yet marked as solved
Hello,
With the new version of Safari 15.4, the CSS property scroll-behavior: smooth will block the JS scroll on element.scrollTop = xx. The release note says scroll-behavior props will be supported by this new version, but it only blocks scrolls... If I remove the scroll-behavior CSS props, the scroll will work correctly, but of course with no animation. How to scroll with scrollTop but with smooth transition ? There is the good place to report bugs to Safari developers ?
Thanks
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 :)
Post not yet marked as solved
When I open a new tab on MacBook (macOS version 12.3) and type something to search for in Google, the page reloads automatically when I click in any link on Google. I do not know why?
Imagine you open Google and type YouTube and then click on the first link that appears (which must lead to YouTube), once you are in YouTube, Safari brings you back to Google (this happens like in 1 second).
This happens in any other site not especially Google.
It happens when I type on the new tab http bar. Sometimes it goes back to the new tab again and again after typing a word and pressing enter and go to Google.
I cleared the history but the same issue is still present.
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
I would like to create a web app where you can drag and drop emails from Apple Mail (on macOS).
When you drag emails to the desktop an .eml file is created, but when you drag emails to the browser no file is being transferred, I can only get the mail’s subject.
So is it possible to drag and drop emails from Apple Mail to browsers? And if yes, then how? So far I've tried chrome and safari, but neither got any files with the dragged element. On windows with outlook or thunderbird this wasn’t an issue, so I hope it can be done with apple mail as well.
Thanks in advance
Post not yet marked as solved
http://kzmcherry77@gmail.com
Support
linkText
Post not yet marked as solved
I am using safari content blockers to block & unblock specific elements of a website when a user toggles on/off. I was assuming that when user toggles the blocking off & I remove blockings from blockers.json & then do a reload
class func reloadContentBlocker(withIdentifier identifier: String,
completionHandler: ((Error?) -> Void)? = nil)
the user would no longer see the blocks on safari. However, the user still sees unless he/she refreshes the page which doesn't seem the be the best user experience & it'd be annoying to remind user to do so every time. Are there any work arounds to this? Did Apple forgot to add this last step?
if we could've reloaded safari itself using swift it would've done the job but I am not aware of such APIs.
Really appreciate your help.
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
I am using custom url scheme to transfer some data from WKWebView to App.
The JS code I use in WKWebView is similar to this:
try{
window.location.href = 'bsfit://'+window.some_custom_data;
}catch(err){
alert(err);
}
Before iOS 15.4, this has worked perfectly.
When tested on iOS 15.4 Beta5, I got an error "TypeError: Invalid URL".
Is this change intended in iOS 15.4 regarding custom URL schemes?
Since I can't change the existing app code, is there a workaround?
Thanks.
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
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
I'm seeing an issue with a PWA when added to the home screen. The Keyboard will eventually stop opening. when clicking on an input field.
this happens with bmw.com, instagram.com. Once it happens on one PWA, all PWA's are effected.
Is this a known issue?
Hi! Our app (blink.sh) has a browser integration focused on developers, and since latest changes now requires this entitlement to work properly.
I have been trying to reach out over email (default-browser-requests at apple.com) more than five times since before Christmas with no response - not even a "case received" or "confirmation from Apple" which is very strange.
I also reached out to "normal" developer relations through email and phone, and they took a deeper look at it. They told me that from information they got in this forum, the request may just take an "undetermined" amount of time, and that they could confirm we are using the right email.
Unfortunately we have had to launch the new version of our application and limit some of the functionality, which is causing a stir of support issues from our side.
Can anyone share what the process has been for them, and if they have received any confirmations along the way? Is there anyone here who could help us get in touch with the right person?
Thanks!
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
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?