How to view the Safari version in Setting of iPhone iOS? - ios

I can not find the Safari version in Setting of iPhone.
Could any genius give some clue?
How to view the Safari version in Setting of iPhone iOS?
I viewed the website that it said the Safari version is binding with iOS version.
Such as iOS version is 13.., then the Safari version is 13.
Is it right?
https://www.lifewire.com/check-the-version-number-of-safari-446563

You can visit https://spiderip.com/ to check the user agent and version of safari. But I don't know whether this side is safe.
I guess the function which will get the userAgent is in the below.
var k=this; {var ia=k.navigator;if(ia){var ja=ia.userAgent;if(ja){w=ja;break a}}w=""}
The other solution is that you can write a html page with the javascript in the below.
javascript:alert(this.navigator.userAgent)

Related

PWA iOS getting the sms: tag to open iMessage

We are currently developing a PWA for a client of ours. Everything has been going well, but while testing on iPhone (iOS 12.2) we are having an issue with the tags that have sms:123-456-7890 in the href. You get the "Safari cannot open this page because of the sms: tag" (paraphrasing).
If you are browsing the site via Safari (not in the PWA mode), the anchor tag works fine and your iMessage opens up with the number in it. But when you're in the PWA mode and click the link, you get a version of the message I mentioned above.
From doing research, this appears to be some sort of bug in the iOS 12.2 release, though not officially mentioned.
I'm curious if anyone has had any luck with a work-around for this issue?
Thanks in advance.
Edit..to add some code for the anchor tag....
123-456-7890
I've tried many different variations of the sms (with no // or ;), always same outcome when clicking it as a PWA. With Android, everything works fine in PWA mode.
I did find a workaround by using JavaScript
Code Example:
<a href="#" onclick="openSMSMobile();" >
function openSMSMobile(e) {
window.open('sms:1234567890', '_self');
return false;
}
And in case anyone is wondering, if you'd like to add text to the message body, you can use,
window.open('sms:1234567890&body=textGoesHere', '_self');
For Android you'll need,
window.open('sms:1234567890&body=textGoesHere', '_self');

browser used in ios webview

I want to know some answer about iOS webview.
Which browser iOS use in their webview?
Safari browser installed in iOS & webview browser (if safari) are same or there are difference?
Is it possible to use installed safari browser inside webview? because my app working in safari browser but not working at webview. my iOS version 11.2 & iphone 7
Suppose in my webview chrome used & I uninstalled chrome browser from phone then will my webview work or not?
Last question is how can I check my webview browser version
Please help.
Answer 1: - Safari on iOS Mac
Answer 2: - Similar i Would Say, You can open the page with specified url or if you set url to https://www.google.com/ then you can go anywhere.
Answer 3: - It already uses Safari
Answer 4: - It will work no worries.
If You want to use Wkwebview follow . Do not forget to connect delegate of web View with UiviewControllere

Polymer website not opening on ios Safari or Chrome

The website I've been creating on http://chrisgiffy.github.com won't open on iOS with either Chrome or Safari
I'm not able to find out what the issue is. All I get in return is a blank page.
Can someone help me on this or show me how to debug on the device?
On IOS 9.3.2 I have discovered that Polymer paper-fab.. has an affect on rendering the page.
If you are using that component, then try removing it (hoping someone can fork a new version.)

IOS Web App open links within web app

I am in the mist of creating a mobile web app and have both meta tags
I have an iphone 5 on 7.0.4
When I click on a regular link like the one below it, opens up a mobile safari window and leaves the webapp. I also tried setting the target to _self and same behavior.
Sign in
I then used my ipad which was on 7.0.3 and it worked as should, not opening mobile safari on links. I think proceeded to update my ipad to 7.0.4 and the same issue as I had on my ipad.
Anyone ran into this issue and or knows a fix ?
Thanks
Since iOS 7.0.4 all links in WebApps open in Safari. As a workaround you can use Javascript:
window.location.href='text.html'
But remember that these steps will not be captured in history (so there is no ability to use Javascript like history.back() ..).
Alternatively, if you are using a menu in your web app, try to combine iframe and Javascript, you can change the content of your iframe with this Javascipt:
document.getElementById("frame").src = new_content.html
This will prevent your WebApp to open up links in Safari and stay in WebApp view.

Viewing Console.log in ios simulator

Please excuse my silliness. I feel as this should be a simple problem. I am using phonegap to develop in IOS. I am wondering how come console.debug does not show up in the xcode console. How can I view any javascript error or exception in xcode console or anywhere? I am running on 4.3 IOS IPAD simulator. Thanks.
You can watch the console.log with a safari-browser. Open the ios-simulator or connect the ipad by usb. Open safari and take a look in the menu "developer". Choose your web-site and the web-inspector will open.
more info here:
https://developer.apple.com/library/ios/documentation/AppleApplications/Reference/SafariWebContent/DebuggingSafarioniPhoneContent/DebuggingSafarioniPhoneContent.html
As far as I know, you cannot. I have solved this problem by using jsconsole.com. It allows you to output console message (and much more) by simply adding a script tag to your app.
NOTE: for debug use only.
Just to clarify the old answer from Fischel, here is the menu on a desktop Safari that allows you to connect development tools to simulators or devices.

Resources