With iOS6 release Apple introduced a nice way to promote a native app on a webpage opened in Safari and this approach is widely used across the industry.
And in iOS7 Apple introduced a new meta viewport value — minimal-ui which was hugely welcomed by web-developers as it provided a much nicer browser UX (by making browser controls look modal rather than just a part of the page), more available real screen size and removed the untouchable area in the bottom of the page that was reserved for the browser UI. And all is well until a ”smart app banner” is added to the page — then the smart app banner suddenly gets a noticeable margin-top and the header gets almost hidden under the banner.
Here’s a screenshot of the issue:
(small blue line is actually a normal element of 30px height)
I couldn’t find any workaround for this issue, so I had to turn off minimal-ui for the page that has the smart app banner, at least until Apple fixes this.