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

Popular posts from this blog

resizing Telegram inline keyboard -

javascript - How to bind ViewModel Store to View? -

javascript - Solution fails to pass one test with large inputs? -