How to detect that browser is running in Safari on iOS 11 via JavaScript? -
i want detect js code in webpage running in safari on ios 11, supports new features.
i can
if (window.navigator.useragent.includes('os 11_0')) { // ios 11 }
but believe considered unreliable.
is there feature or hack works on ios 11 , not on other os , can used detect version without inspecting useragent
?
Comments
Post a Comment