Smart application banners hide with address bar for mobile safari

I know that smart application banners are not part of the document, so "window.scrollTo (0,1)" will also be hidden. Is there a good way to handle this?

+6
source share
1 answer

I had the same problem and eventually went for a solution in the HTML5 Boilerplate mobile code. Information area in my question Hiding the address bar without hiding the banner of smart applications on iOS 6 .

0
source

Source: https://habr.com/ru/post/927331/


All Articles