lundi 29 avril 2019

What are the dimensions of safari mobile view with the url bar?

I've seen countless posts on SO but not one concrete answer. I already know when typing window.innerwidth in the console, it gives you the width of the view, assuming the URL bar isn't taken in account.

This time I want to take into account the URL bar. What's a good way to find out the dimensions of iOS mobile devices with the URL bar showing in Safari?




Aucun commentaire:

Enregistrer un commentaire